Intermec ck1 Reference Guide

Page of 390
Chapter 4 — SDK Components 
CK1 SDK Programmer’s Reference Manual 
155 
 
Parameters:  icon   
Pointer to the real instance 
bmp_width 
Width of the bitmap 
bmp_height 
Height of the bitmap 
bmp 
Pointer to the bitmap 
 
Return: None 
otk_icon_set_user_data 
 
Purpose:  Set user data. 
 
Prototype: 
void otk_icon_set_user_data (OtkIcon* icon, void* 
user_data);
 
 
Parameters:  icon   
Pointer to the real instance 
user_data 
Pointer to the specified data 
 
Return: None 
otk_icon_get_user_data 
 
Purpose:  Get user data. 
 
Prototype: 
void* otk_icon_get_user_data (OtkIcon* icon);
 
 
Parameters:  icon   
Pointer to the real instance 
 
Return:  Pointer to the specified data 
OtkList 
You use the OtkList widget to pack a list of selectable items. OtkList was 
inherited from OtkWidget. The properties are: 
"user_data"(void*:Read/Write) 
otk_list_init 
 
Purpose:  Initialize the instance to be OtkList. 
 
Prototype: 
void otk_list_init (OtkList* list, int col_number);
 
 
Parameter:  list   
Pointer to the real instance 
col_number 
Number of columns the OtkList should have 
 
Return:  The function returns no value.