Lines Matching refs:item
38 * Set and get current menus item *
47 | Function : int set_current_item(MENU *menu, const ITEM *item)
49 | Description : Make the item the current item
54 set_current_item(MENU *menu, ITEM *item)
56 T((T_CALLED("set_current_item(%p,%p)"), (void *)menu, (void *)item));
58 if (menu && item && (item->imenu == menu))
64 if (item != menu->curitem)
76 /* adjust the window to make item visible and update the menu */
77 Adjust_Current_Item(menu, menu->toprow, item);
90 | Description : Return the menus current item
105 | Description : Return the logical index of this item.
107 | Return Values : The index or ERR if this is an invalid item pointer
110 item_index(const ITEM *item)
112 T((T_CALLED("item_index(%p)"), (const void *)item));
113 returnCode((item && item->imenu) ? item->index : ERR);