Intermec ck1 Reference Guide
Chapter 4 — SDK Components
224
CK1 SDK Programmer’s Reference Manual
otk_selection_set_position (continued)
x
X coordinate on the top left point of the selection
y
Y coordinate on the top left point of the selection
Return: None
otk_selection_set_label_number
Purpose: Set the number of the selection for selecting.
Prototype:
void otk_selection_set_label_number (OtkSelection*
selection, int num); //the minimum is 2, the maximum is
15
Parameters: selection
Pointer of the OtkSelection instance
num
Number of label of the selection for selecting
Return: None
otk_selection_set_label
Purpose: Set the label of selection for selecting.
Prototype:
void otk_selection_set_label (OtkSelection* selection,
int label[]);
Parameters: selection
Pointer of the OtkSelection instance
label[ ]
Label of the selection for selecting
Return: None
otk_selection_set_default
Purpose: Set the current value of selection.
Prototype:
void otk_selection_set_default (OtkSelection* selection,
int value); // from 1 to the number that you set before
Parameters: selection
Pointer of the OtkSelection instance
value Chosen
selection
Return: None
otk_selection_refresh
Purpose: Redraw the selection. After calling the setting functions and adding to the
parent, this function needs to be called.
Prototype:
void otk_selection_refresh (OtkSelection* selection);