X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmenu_format.3x.html;h=8b70d01328465fdeef1bf3090984716d41399d1e;hb=16fbf3f4f7d96b6ee6bf9159b22f26e05962aa3d;hp=fccb25bcb7ab3a66b79a1d960a5f5270f22c1f3a;hpb=ed646e3f683083e787c6ba773364401dc9fa9d40;p=ncurses.git diff --git a/doc/html/man/menu_format.3x.html b/doc/html/man/menu_format.3x.html index fccb25bc..8b70d013 100644 --- a/doc/html/man/menu_format.3x.html +++ b/doc/html/man/menu_format.3x.html @@ -1,7 +1,8 @@ -
- +#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.