|
menu_term(3) -- set hooks for automatic invocation by applications
|
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by menu_driver. The function set_item_init sets a hook to be call... |
menu_userptr(3) -- associate application data with a menu item
|
Every menu and every menu item has a field that can be used to hold application-specific data (that is, the menudriver code leaves it alone). These functions get and set the menu user pointer field. |
menu_win(3) -- make and break menu window and subwindow associations
|
Every menu has an associated pair of curses windows. The menu window displays any title and border associated with the window; the menu subwindow displays the items of the menu that are currently avai... |
mergesort(3) -- sort functions
|
The qsort() function is a modified partition-exchange sort, or quicksort. The heapsort() function is a modified selection sort. The mergesort() function is a modified merge sort with exponential searc... |
meta(3) -- curses input options
|
Normally, the tty driver buffers typed characters until a newline or carriage return is typed. The cbreak routine disables line buffering and erase/kill character-processing (interrupt and flow contro... |
mitem_current(3) -- set and get current_menu_item
|
The function set_current_item sets the current item (the item on which the menu cursor is positioned). cur- rent_item returns a pointer to the current item in the given menu. The function set_top_row ... |
mitem_name(3) -- get menu item name and description fields
|
The function item_name returns the name part of the given item. The function item_description returns the description part of the given item. |
mitem_new(3) -- create and destroy menu items
|
The function new_item allocates a new item and initializes it from the name and description pointers. Please notice that the item stores only the pointers to the name and description. Those pointers m... |
mitem_opts(3) -- set and get menu item options
|
The function set_item_opts sets all the given item's option bits (menu option bits may be logically OR'ed together). The function item_opts_on turns on the given option bits, and leaves others alone... |
mitem_userptr(3) -- associate application data with a menu item
|
Every menu item has a field that can be used to hold application-specific data (that is, the menu-driver code leaves it alone). These functions get and set that field. |
mitem_value(3) -- set and get menu item values
|
If you turn off the menu option O_ONEVALUE (e.g., with set_menu_opts or menu_opts_off; see menu_opts(3)), the menu becomes multi-valued; that is, more than one item may simultaneously be selected. In ... |
mitem_visible(3) -- check visibility of a menu item
|
A menu item is visible when it is in the portion of a posted menu that is mapped onto the screen (if the menu is scrollable, in particular, this portion will be smaller than the whole menu). |
mkdtemp(3) -- make temporary file name (unique)
|
The mktemp() function takes the given file name template and overwrites a portion of it to create a file name. This file name is unique and suitable for use by the application. The template may be any... |