Intermec ck1 Reference Guide
Chapter 4 — SDK Components
CK1 SDK Programmer’s Reference Manual
215
OtkSpin
OtkSpin is a wrapper for a range control. OtkSpin was inherited from
OtkWidget and OtkRange. The properties are:
OtkWidget and OtkRange. The properties are:
Property
Description
“flag”(char:Read)
Defines the orientation of the spin (vertical: 0,
horizontal: 1).
horizontal: 1).
otk_spin_init
Purpose: Initialize the OtkSpin instance.
Prototype:
void otk_spin_init (OtkSpin* spin);
Parameter: spin
Pointer of the OtkSpin instance
Return: None
otk_spin_set_typeflag
Purpose: Indicate the orientation of the spin (vertical: 0, horizontal: 1).
Prototype:
void otk_spin_set_spin_typeflag (OtkSpin* spin, int
flag);
Parameters: spin
Pointer of the OtkSpin instance
flag
Orientation of the spin
Return: None
otk_spin_set_size
Purpose: Set the size of the spin.
Prototype:
void otk_spin_set_size (OtkSpin* spin, int width, int
height);
Parameters: spin
Pointer of the OtkSpin instance
width
Width of the spin
height
Height of the spin
Return: None