Intermec ck1 Reference Guide
Chapter 4 — SDK Components
184
CK1 SDK Programmer’s Reference Manual
otk_entry_set_focused
Purpose: Set the focused property of the specified entry.
Prototype:
void otk_entry_set_focused (OtkEntry* oep, OTK_BOOL
focused);
Parameters: oep
Pointer of the specified entry instance
focused
New value of the focused property
Return: None
otk_entry_set_maxlength
Purpose: Set the maximum length of the specified entry.
Prototype:
void otk_entry_set_maxlength (OtkEntry* oep, int
maxlength);
Parameters: oep
Pointer of the specified entry instance
maxlength
New value of the maximum length
Return: None
otk_entry_set_buffer
Purpose: Set the text content of the specified entry with a memory buffer.
Prototype:
int otk_entry_set_buffer (OtkEntry* oep,char* buffer,int
bsize);
Parameters: oep
Pointer of the specified entry instance
buffer
Pointer of the memory buffer
bsize
Length of the text string in the memory buffer
Return: None
otk_entry_load_from_file
Purpose: Load the text content of the specified entry from a text file.
Prototype:
int otk_entry_load_from_file (OtkEntry* oep, char*
filename);
Parameters: oep
Pointer of the specified entry instance
filename
Pointer of the buffer that stores the file name
Return: None