Intermec ck1 Reference Guide

Page of 390
Chapter 4 — SDK Components 
180 
CK1 SDK Programmer’s Reference Manual 
otk_entry_set_gc_foreground_color 
 
Purpose:  Set the foreground color of the specified entry. 
 
Prototype: 
void otk_entry_set_gc_foreground_color (OtkEntry* oep
OTK_COLOR fcolor);
 
 
Parameters:  oep   
Pointer of the specified entry instance 
fcolor 
New foreground color 
 
Return:  None 
otk_entry_set_position 
 
Purpose:  Set the position of the specified entry. 
 
Prototype: 
void otk_entry_set_position (OtkEntry* oep, int x, int 
y);
 
 
Parameters:  oep 
Pointer of the specified entry instance 
x 
X coordinate of the position 
y 
Y coordinate of the position 
 
Return: None 
otk_entry_set_size 
 
Purpose:  Set the size of the specified entry. 
 
Prototype: 
void otk_entry_set_size (OtkEntry* oep, int width, int 
height);
 
 
Parameters:  oep   
Pointer of the specified entry instance 
width Width 
height Height 
 
Return: None 
otk_entry_set_parent 
 
Purpose:  Set the parent widget of the specified entry. 
 
Prototype: 
void otk_entry_set_parent (OtkEntry* oep,OtkWidget* pwidget);
 
 
Parameters:  oep   
Pointer of the specified entry instance 
pwidget 
Pointer of the parent widget 
 
Return: None