Functions | |
int | mt_MenuBar (APPvar *app, OBJECT *menu, int mode) |
Install the desktop menu. | |
int | mt_MenuTnormal (APPvar *app, WINDOW *win, int title, int mode) |
Hilight or unhilight a title in a menu. | |
int | mt_MenuIcheck (APPvar *app, WINDOW *win, int title, int mode) |
Check or uncheck an entry in a menu. | |
int | mt_MenuText (APPvar *app, WINDOW *win, int title, char *txt) |
Change the text of a menu entry. | |
int | mt_MenuDisable (APPvar *app) |
Disable the desktop menu. | |
int | mt_MenuEnable (APPvar *app) |
Enable the desktop menu. | |
int | mt_MenuPopUp (APPvar *app, void *data, int x, int y, int max, int size, int item, int mode) |
Display and handle a menu popup. | |
void | mt_MenuScroll (APPvar *app, WINDOW *win, int dir) |
Scroll the titles of a window menu. |
|
Install the desktop menu.
|
|
Disable the desktop menu.
|
|
Enable the desktop menu.
|
|
Check or uncheck an entry in a menu.
Extended objects are correctly handled by this function. |
|
Display and handle a menu popup.
A list of entries is a pointer such as Keyboards can be used to naviguate in the popup (up and down arrow) and validate an entry (RETURN or ENTER keys). With a P_LIST mode, the menu popup aspect can be defined by the user from the WinDom configuration file (see windom.popup variables). |
|
Scroll the titles of a window menu.
|
|
Change the text of a menu entry.
Extended objects are correctly handled by this function. |
|
Hilight or unhilight a title in a menu.
|