Intermec ck1 Reference Guide
Chapter 4 — SDK Components
CK1 SDK Programmer’s Reference Manual
153
otk_dialog_get_user_data
Purpose: Get user data.
Prototype:
void* otk_dialog_get_user_data (OtkDialog* dialog);
Parameter: dialog
Pointer to the real instance
Return: Pointer to the specified data
OtkGroup
A widget with a linked list to group all the child widgets that have the
same parent. OtkGroup was inherited from OtkWidget. The properties
are:
same parent. OtkGroup was inherited from OtkWidget. The properties
are:
"user_data"(void*:Read/Write)
otk_group_init
Purpose: Initialize the instance to be an OtkGroup widget.
Prototype:
void otk_group_init (OtkGroup* group);
Parameter: group
Pointer to the real instance
Return: None
otk_group_append
Purpose: Append an object to a linked list of an OtkGroup widget and casts the
parent pointer of the object to the OtkGroup widget.
Prototype:
OTK_BOOL otk_group_append (OtkGroup* group, OtkWidget*
widget);
Parameters: group
Pointer to the real instance
widget
Pointer to the object to be added
Return: OTK_TRUE
If
okay
otk_group_remove
Purpose: Remove an object from a group and casts the parent pointer of the object
to NULL.
Prototype:
OTK_BOOL otk_group_remove (OtkGroup* group, OtkWidget*
widget);
Parameters: group
Pointer to the real instance