X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmenu_driver.3x.html;h=8481365082c49675b6e14991b967fe34e050f44b;hp=bf5da3e832ca4f6e40beface155e808b487004c3;hb=HEAD;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280 diff --git a/doc/html/man/menu_driver.3x.html b/doc/html/man/menu_driver.3x.html index bf5da3e8..a3400428 100644 --- a/doc/html/man/menu_driver.3x.html +++ b/doc/html/man/menu_driver.3x.html @@ -1,6 +1,6 @@ -
--menu_driver(3x) menu_driver(3x) +menu_driver(3x) Library calls menu_driver(3x) @@ -52,7 +52,8 @@
#include <menu.h> - int menu_driver(MENU *menu, int c); + + int menu_driver(MENU *menu, int c);
@@ -64,8 +65,8 @@ and character codes returned by wgetch(3x). o The input is a printable character. Printable characters (which - must be positive, less than 256) are checked according to the pro- - gram's locale settings. + must be positive, less than 256) are checked according to the + program's locale settings. o The input is the KEY_MOUSE special key associated with an mouse event. @@ -132,7 +133,7 @@ corresponding action is performed. -
+
If the second argument is the KEY_MOUSE special key, the associated mouse event is translated into one of the above pre-defined requests. Currently only clicks in the user window (e.g., inside the menu display @@ -171,12 +172,12 @@ translated into a menu request an E_REQUEST_DENIED is returned. -
+
If the second argument is neither printable nor one of the above pre- - defined menu requests or KEY_MOUSE, the drive assumes it is an applica- - tion-specific command and returns E_UNKNOWN_COMMAND. Application- - defined commands should be defined relative to MAX_COMMAND, the maximum - value of these pre-defined requests. + defined menu requests or KEY_MOUSE, the drive assumes it is an + application-specific command and returns E_UNKNOWN_COMMAND. + Application-defined commands should be defined relative to MAX_COMMAND, + the maximum value of these pre-defined requests.
@@ -206,19 +207,10 @@ The menu driver could not process the request. -
- curses(3x), menu(3x), getch(3x). - - -
- The header file <menu.h> automatically includes the header files - <curses.h>. - -
- These routines emulate the System V menu library. They were not sup- - ported on Version 7 or BSD versions. The support for mouse events is - ncurses specific. + These routines emulate the System V menu library. They were not + supported on Version 7 or BSD versions. The support for mouse events + is ncurses specific.
@@ -226,8 +218,12 @@ Raymond. +
+ curses(3x), getch(3x), menu(3x) + + - menu_driver(3x) +ncurses 6.4 2024-03-16 menu_driver(3x)