GWIN Widgets header file.
Definition in file gwin_widget.h.
|
void | gwinWidgetClearInit (GWidgetInit *pwi) |
| Clear a GWidgetInit structure to all zero's. More...
|
|
void | gwinSetDefaultStyle (const GWidgetStyle *pstyle, gBool updateAll) |
| Set the default style for widgets created hereafter. More...
|
|
const GWidgetStyle * | gwinGetDefaultStyle (void) |
| Get the current default style. More...
|
|
void | gwinSetText (GHandle gh, const char *text, gBool useAlloc) |
| Set the text of a widget. More...
|
|
const char * | gwinGetText (GHandle gh) |
| Get the text of a widget. More...
|
|
void | gwinPrintg (GHandle gh, const char *fmt,...) |
| Set the text of a widget using a printf style format. More...
|
|
gBool | gwinIsWidget (GHandle gh) |
| Check whether a handles is a widget handle or not. More...
|
|
void | gwinSetTag (GHandle gh, WidgetTag tag) |
| Set the tag of a widget. More...
|
|
WidgetTag | gwinGetTag (GHandle gh) |
| Get the tag of a widget. More...
|
|
void | gwinSetStyle (GHandle gh, const GWidgetStyle *pstyle) |
| Set the style of a widget. More...
|
|
const GWidgetStyle * | gwinGetStyle (GHandle gh) |
| Get the style of a widget. More...
|
|
void | gwinSetCustomDraw (GHandle gh, CustomWidgetDrawFunction fn, void *param) |
| Set the routine to perform a custom widget drawing. More...
|
|
gBool | gwinAttachListener (GListener *pl) |
| Attach a Listener to listen for widget events. More...
|
|
gBool | gwinAttachToggle (GHandle gh, gU16 role, gU16 instance) |
| Attach a toggle to a widget. More...
|
|
gBool | gwinDetachToggle (GHandle gh, gU16 role) |
| Detach a toggle from a widget. More...
|
|
gBool | gwinAttachDial (GHandle gh, gU16 role, gU16 instance) |
| Attach a toggle to a widget. More...
|
|
gBool | gwinSetFocus (GHandle gh) |
| Set the keyboard focus to a specific window. More...
|
|
GHandle | gwinGetFocus (void) |
| Get the widget that is currently in focus. More...
|
|