X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmenu_format.3x.html;h=da6e4922f2f023d8eabb98655e351fc4502c020c;hp=679b8066a4c9728ae54d58af87ebddf112f77961;hb=81304798ee736c467839c779c9ca5dca48db7bea;hpb=17c5992a16be94247b83f2bbb9accdd9b7e7bb72;ds=sidebyside diff --git a/doc/html/man/menu_format.3x.html b/doc/html/man/menu_format.3x.html index 679b8066..da6e4922 100644 --- a/doc/html/man/menu_format.3x.html +++ b/doc/html/man/menu_format.3x.html @@ -1,7 +1,8 @@ - @@ -35,7 +36,7 @@
#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 +80,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. @@ -100,8 +102,8 @@
- 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.