Intermec ck1 Reference Guide
Chapter 4 — SDK Components
CK1 SDK Programmer’s Reference Manual
141
Parameters: widget
Pointer to the real instance
visible
OTK_TRUE if the widget is visible
Return: None
otk_widget_set_sensitive
Purpose: Set the sensitivity of this widget. Widgets that are not sensitive do not
receive the event.
Setting or clearing OTK_WIDGET_FLAG_SENSITIVE of flags field of
the OtkWidget.
the OtkWidget.
Prototype:
void otk_widget_set_sensitive (OtkWidget* widget,
OTK_BOOL sensitive);
Parameters: widget
Pointer to the real instance
sensitive
OTK_TRUE if the widget is sensitive
Return: None
otk_widget_set_gc_background_color
Purpose: Set the background color of the widget. The default background color is
OTK_WHITE.
Prototype:
void otk_widget_set_gc_background_color (OtkWidget*
widget, OTK_COLOR bgcolor);
Parameters: widget
Pointer to the real instance
bgcolor
Color to use as the new background
Return: None
otk_widget_set_gc_foreground_color
Purpose: Set the foreground color of the widget. The default background color is
OTK_BLACK.
Prototype:
void otk_widget_set_gc_foreground_color (OtkWidget*
widget, OTK_COLOR fgcolor);
Parameters: widget
Pointer to the real instance
fgcolor
Color to use as the new foreground
Return: None