Use the khui_menu_create(), khui_menu_insert_action(), khui_menu_insert_paction(), khui_menu_get_size(), khui_menu_get_action() functions to create and manipulate custom menus. Do not manipulate this structure directly as doing so may cause inconsistencies in the UI library.
The number of actions in the items list. If this is a custom menu, the KHUI_MENUSTATE_ALLOCD bit will be set, and the contents of this field will be valid. Otherwise, the contents of this field is ignored and the list of actions must be terminated with a ACTION_LIST_END action.
max number of items in the buffer alocated for items. Ignored if KHUI_MENUSTATE_ALLOCD is not set in state.
Action list terminated by, ACTION_LIST_END. If n_items is set to a value other than -1, the list doesn't necessarily have to end with a ACTION_LIST_END. When constructing a menu using khui_menu_* functions, they will set the size of this list in the n_items member, and there will be no ACTION_LIST_END action to terminate the list.
Generated on Fri Aug 3 08:27:15 2007 for Network Identity Manager by Doxygen 1.5.2
© 2004-2007 Massachusetts Institute of Technology.
© 2005-2007 Secure Endpoints Inc.