Intermec ck1 Reference Guide

Page of 390
Chapter 4 — SDK Components 
CK1 SDK Programmer’s Reference Manual 
175 
otk_editable_cut_to_clipboard 
 
Purpose:  Cut the text content of the marked region to the clipboard. 
 
Prototype: 
int otk_editable_cut_to_clipboard (OtkEditable* oep);
 
 
Parameter:  oep 
Pointer of the specified editable instance 
 
Return: 1 
 If 
succeeded 
0 If 
failed 
otk_editable_copy_to_clipboard 
 
Purpose:  Copy the text content of the marked region to the clipboard. 
 
Prototype: 
int otk_editable_copy_to_clipboard (OtkEditable* oep);
 
 
Parameter:  oep 
Pointer of the specified editable instance 
 
Return: 1 
 If 
succeeded 
0 If 
failed 
otk_editable_paste_from_clipboard 
 
Purpose:  Paste the text content from the clipboard to the cursor position 
 
Prototype: 
int otk_editable_paste_from_clipboard (OtkEditable* oep);
 
 
Parameter:  oep 
Pointer of the specified editable instance 
 
Return: 1 
 If 
succeeded 
0 If 
failed 
otk_editable_clear_selection 
 
Purpose:  Delete the text content of the marked region. 
 
Prototype: 
int otk_editable_clear_selection (OtkEditable* oep);
 
 
Parameter:  oep 
Pointer of the specified editable instance 
 
Return: 1 
 If 
succeeded 
0 If 
failed