Lines Matching refs:item
35 * Set and get current menus item *
44 | Function : int set_current_item(MENU *menu, const ITEM *item)
46 | Description : Make the item the current item
51 set_current_item(MENU * menu, ITEM * item)
53 T((T_CALLED("set_current_item(%p,%p)"), (void *)menu, (void *)item));
55 if (menu && item && (item->imenu == menu))
61 if (item != menu->curitem)
73 /* adjust the window to make item visible and update the menu */
74 Adjust_Current_Item(menu, menu->toprow, item);
87 | Description : Return the menus current item
102 | Description : Return the logical index of this item.
104 | Return Values : The index or ERR if this is an invalid item pointer
107 item_index(const ITEM * item)
109 T((T_CALLED("item_index(%p)"), (const void *)item));
110 returnCode((item && item->imenu) ? item->index : ERR);