Intermec ck1 Reference Guide

Page of 390
Chapter 4 — SDK Components 
CK1 SDK Programmer’s Reference Manual 
233 
 
Parameters:  opp 
Pointer of the specified OtkCustomPopupMenu instance 
submenu 
Pointer of the specified OtkCustomPopupMenu instance 
that is set as opp’s active submenu 
 
Return: None 
otk_custompopupmenu_hide_submenu 
 
Purpose:  Hide the specified OtkCustomPopupMenu’s submenu recursively. 
 
Prototype: 
void otk_custompopupmenu_hide_submenu(OtkCustomPopupMenu* 
opp);
 
 
Parameter:  opp 
Pointer of the specified OtkCustomPopupMenu instance 
 
Return: None 
otk_custompopupmenu_check_visible_chain_wid 
 
Purpose:  Check if the specified OTK_WINDOW_ID directly or indirectly belongs 
to any OtkCustomPopupMenu that is the specified 
OtkCustomPopupMenu’s owner or submenu. 
 
Prototype: 
int 
otk_custompopupmenu_check_visible_chain_wid(OtkCustomPopu
pMenu* opp, OTK_WINDOW_ID wid);
 
 
Parameters:  opp 
Pointer of the specified OtkCustomPopupMenu instance 
wid Specified 
OTK_WINDOW_ID 
 
Return:  OTK_TRUE 
If it does 
OTK_FALSE 
If it does not 
OnPopup Event 
 
Purpose:  Occur when the mouse down times out in 1 second. 
 
Prototype: 
OTK_BOOL user_function(OtkWidget* widget, int x, int y);
 
 
Parameters:  widget 
Pointer of the widget that occurs at the OnPopup event 
x 
X coordinate position when the OnPopup event occurs 
y 
Y coordinate position when the OnPopup event occurs 
 
Return: OTK_TRUE 
Always