Intermec ck1 Reference Guide
Chapter 4 — SDK Components
178
CK1 SDK Programmer’s Reference Manual
otk_editable_next_cursorpos
Purpose: Calculate the next valid cursor position with a specified reference cursor
position.
Prototype:
int otk_editable_next_cursorpos(OtkEditable* oep, int
ref_cur);
Parameters: oep
Pointer of the specified editable instance
ref_cursor
Specified reference cursor position
Return: negative If
failed
others
Valid cursor position
otk_editable_prev_cursorpos
Purpose: Calculate the previous valid cursor position with a specified reference
cursor position.
Prototype:
int otk_editable_prev_cursorpos(OtkEditable* oep, int
ref_cur);
Parameters: oep
Pointer of the specified editable instance
ref_cursor
Specified reference cursor position
Return: negative If
failed
others
Valid cursor position
OtkEntry
OtkEntry is a line editor. OtkEntry was inherited from OtkWidget and
OtkEditable. The properties are:
OtkEditable. The properties are:
Property
Description
“align”(int:Read)
Defines the alignment style of the text
content.
content.
“restrict_length”(int:Read)
Defines the maximum length of the
text that can be edited.
text that can be edited.
“pswdmode”(OTK_BOOL:Read)
Defines if the entry is in Password
mode. The entry displays all characters
as an asterisk (*).
mode. The entry displays all characters
as an asterisk (*).