Intermec ck1 Reference Guide

Page of 390
Chapter 4 — SDK Components 
CK1 SDK Programmer’s Reference Manual 
145 
otk_button_set_user_data 
 
Purpose:  Set user data. 
 
Prototype: 
void otk_button_set_user_data (OtkButton* button, void* 
user_data);
 
 
Parameters:  button 
Pointer to the real instance 
user_data 
Pointer to the specified data 
 
Return: None 
otk_button_get_user_data 
 
Purpose:  Get user data. 
 
Prototype: 
void* otk_button_get_user_data (OtkButton* button);
 
 
Parameter:  button 
Pointer to the real instance 
 
Return:  Pointer to the specified data 
OnClick Event 
 
Purpose:  Emitted when you click a mouse button and you keep the cursor on the 
button before you release the mouse button. 
 
Prototype: 
OTK_BOOL user_function (OtkWidget* widget, int x_axis
int y_axis);
 
 
Parameters:  widget 
Object that emits the event 
x_axis 
X coordinates of the occurrence relative to the window parent 
y_axis 
Y coordinates of the occurrence relative to the window parent 
 
Return:  OTK_FALSE  If CK1 does not care 
OtkCellBox 
The OtkCellBox widget allows the programmer to arrange text or bitmap 
images in rows and columns, making it easy to align many text or bitmap 
images next to each other, horizontally and vertically. OtkCellBox was 
inherited from OtkWidget. The properties are: 
"user_data"(void*:Read/Write)