Intermec ck1 Reference Guide
Chapter 4 — SDK Components
208
CK1 SDK Programmer’s Reference Manual
otk_scrollbar_set_step (continued)
stepvalue
Step value of the scrollbar
Return: None
otk_scrollbar_refresh
Purpose: Redraw the scrollbar. After calling the setting functions and adding to the
parent, this function needs to be called.
Prototype:
void otk_scrollbar_refresh (OtkScrollBar* scrollbar);
Parameter: scrollbar
Pointer of the OtkScrollBar instance
Return: None
otk_scrollbar_set_max
Purpose: Set the maximum value of the scrollbar.
Prototype:
void otk_scrollbar_set_max (OtkScrollBar* scrollbar, int
max);
Parameters: scrollbar
Pointer of the OtkScrollBar instance
max
Maximum value of the scrollbar
Return: None
otk_scrollbar_set_min
Purpose: Set the minimum value of the scrollbar.
Prototype:
void otk_scrollbar_set_min (OtkScrollBar* scrollbar, int
min);
Parameters: scrollbar
Pointer of the OtkScrollBar instance
min
Minimum value of the scrollbar
Return: None
otk_scrollbar_set_value
Purpose: Set the current value of the scrollbar.
Prototype:
void otk_scrollbar_set_value (OtkScrollBar* scrollbar,
int value);
Parameters: scrollbar
Pointer of the OtkScrollBar instance
value
Current value of the scrollbar