X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmenu_format.3x.html;h=8a61d6339d938a54f6a874ef84c35d66ffd3ca7b;hb=bd2d9c5734d2c66abe0b2ddd766695b200c154fe;hp=679b8066a4c9728ae54d58af87ebddf112f77961;hpb=17c5992a16be94247b83f2bbb9accdd9b7e7bb72;p=ncurses.git diff --git a/doc/html/man/menu_format.3x.html b/doc/html/man/menu_format.3x.html index 679b8066..8a61d633 100644 --- a/doc/html/man/menu_format.3x.html +++ b/doc/html/man/menu_format.3x.html @@ -1,7 +1,7 @@ -
--menu_format(3x) menu_format(3x) +menu_format(3x) Library calls menu_format(3x) @@ -52,16 +52,17 @@
#include <menu.h> - int set_menu_format(MENU *menu, int rows, int cols); - void menu_format(const MENU *menu, int *rows, int *cols); + + int set_menu_format(MENU *menu, int rows, int cols); + void menu_format(const MENU *menu, int *rows, int *cols);
The function set_menu_format sets the maximum display size of the given menu. If this size is too small to display all menu items, the menu - will be made scrollable. If this size is larger than the menus subwin- - dow and the subwindow is too small to display all menu items, post_menu - will fail. + will be made scrollable. If this size is larger than the menus + subwindow and the subwindow is too small to display all menu items, + post_menu will fail. The default format is 16 rows, 1 column. Calling set_menu_format with a null menu pointer will change this default. A zero row or column @@ -78,7 +79,7 @@ E_OK The routine succeeded. E_SYSTEM_ERROR - System error occurred (see errno). + System error occurred (see errno(3)). E_BAD_ARGUMENT Routine detected an incorrect or out-of-range argument. @@ -90,18 +91,9 @@ No items are connected to the menu. -
- curses(3x), menu(3x). - - -
- The header file <menu.h> automatically includes the header file - <curses.h>. - -
- These routines emulate the System V menu library. They were not sup- - ported on Version 7 or BSD versions. + These routines emulate the System V menu library. They were not + supported on Version 7 or BSD versions.
@@ -109,8 +101,12 @@ Raymond. +
+ curses(3x), menu(3x) + + - menu_format(3x) +ncurses 6.4 2023-11-25 menu_format(3x)