Intermec ck1 参照ガイド
Chapter 4 — SDK Components
174
CK1 SDK Programmer’s Reference Manual
otk_editable_set_buffer (continued)
Parameters: oep
Pointer of the specified editable instance
buffer
Pointer of the memory buffer
bsize
Length of the text string in the memory buffer
Return: None
otk_editable_load_from_file
Purpose: Load the text content of the specified editable instance from a text file.
Prototype:
it otk_editable_load_from_file (OtkEditable* oep, char*
filename);
Parameters: oep
Pointer of the specified editable instance
filename
Pointer of the buffer that stores the file name
Return: None
otk_editable_get_sel_buffer
Purpose: Get the text content of the marked region.
Prototype:
int otk_editable_get_sel_buffer (OtkEditable* oep, char*
buffer, int bsize);
Parameters: oep
Pointer of the specified editable instance
buffer
Pointer of the buffer to return the content in
bsize Buffer
size
Return: Length of the returned text content
otk_editable_get_text_buffer
Purpose: Get the text content of the specified editable instance.
Prototype:
int otk_editable_get_text_buffer (OtkEditable* oep, char*
buffer, int bsize);
Parameters: oep
Pointer of the specified editable instance
buffer
Pointer of the buffer to return the content in
bsize Buffer
size
Return: Length of the returned text content