Intermec ck1 Reference Guide
Chapter 4 — SDK Components
232
CK1 SDK Programmer’s Reference Manual
otk_custompopupmenu_get_child_item (continued)
Return: NULL
If
failed
Pointer of the item
If succeeded
otk_custompopupmenu_show
Purpose: Show the specified OtkCustomPopupMenu at the specified position.
Prototype:
void otk_custompopupmenu_show(OtkCustomPopupMenu* opp,
int x, int y);
Parameters: opp
Pointer of the specified OtkCustomPopupMenu instance
x
X coordinate to show the specified OtkCustomPopupMenu
y
Y coordinate to show the specified OtkCustomPopupMenu
Return: None
otk_custompopupmenu_hide
Purpose: Hide the specified OtkCustomPopupMenu and all its submenus
recursively.
Prototype:
void otk_custompopupmenu_hide(OtkCustomPopupMenu* opp);
Parameter: opp
Pointer of the specified OtkCustomPopupMenu
Return: None
otk_custompopupmenu_hide_all
Purpose: Hide the specified OtkCustomPopupMenu and its submenus and its
owner menus recursively.
Prototype:
void otk_custompopupmenu_hide_all(OtkCustomPopupMenu*
opp);
Parameter: opp
Pointer of the specified OtkCustomPopupMenu
Return: None
otk_custompopupmenu_set_active_submenu
Purpose: Set the specified OtkCustomPopupMenu to be the specified
OtkCustomPopupMenu’s active submenu.
Prototype:
void
otk_custompopupmenu_set_active_submenu(OtkCustomPopupMenu
* opp, OtkCustomPopupMenu* submenu);