Intermec ck1 Reference Guide
Chapter 4 — SDK Components
156
CK1 SDK Programmer’s Reference Manual
otk_list_set_scrollbar
Purpose: Give the specified OtkScrollBar widget to make the specified OtkList
widget scrollable.
Prototype:
void otk_list_set_scrollbar (OtkList* list, OtkScrollBar*
scrlbar);
Parameters: list
Pointer to the real instance
scrlbar
Pointer to the specified OtkScrollBar widget
Return: None
otk_list_set_select_callback
Purpose: Set a user-defined function that is called when an onSelect event (button
down and up in the same list item) occurs.
Prototype:
void otk_list_set_select_callback (OtkList* list,
OtkWidgetCallback callback);
Parameters: list
Pointer to the real instance
callback
Function specified to call to handle onSelect events
Return: None
otk_list_set_timeout_callback
Purpose: Set a user-defined function that is called when an onTimeout event occurs.
Prototype:
void otk_list_set_timeout_callback (OtkList* list,
OtkWidgetCallback callback);
Parameters: list
Pointer to the real instance
callback
Function specified to call to handle onTimeout events
Return: None
otk_list_set_title_visible
Purpose: Allows you to set the titles of the OtkList that should be hidden or shown.
Prototype:
void otk_list_set_title_visible (OtkList* list, OTK_BOOL
visible);
Parameters: list
Pointer to the real instance
visible
True or false
Return: None