diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-26 03:59:14 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-26 03:59:14 +0000 |
commit | 65d9e3fdab3ed1511a98387720e59db078fc3d46 (patch) | |
tree | 7fa63a0892e13f7f68f9b6a87154fc3d6a0cce17 /lib/libmenu/menu_win.3 | |
parent | 4db103e641c472e38eb16ec5885f4ee5cabe750c (diff) |
libmenu from ncurses 4.1. Post 4.1 patches to be applied in a separate commit.
Diffstat (limited to 'lib/libmenu/menu_win.3')
-rw-r--r-- | lib/libmenu/menu_win.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libmenu/menu_win.3 b/lib/libmenu/menu_win.3 index 5f492124ca9..9ed9b4eb2ea 100644 --- a/lib/libmenu/menu_win.3 +++ b/lib/libmenu/menu_win.3 @@ -5,15 +5,15 @@ .SH SYNOPSIS \fB#include <menu.h>\fR .br -int set_menu_window(MENU *menu, WINDOW *win); +int set_menu_win(MENU *menu, WINDOW *win); .br -WINDOW *menu_window(MENU *menu); +WINDOW *menu_win(const MENU *menu); .br int set_menu_sub(MENU *menu, WINDOW *sub); .br -WINDOW *menu_sub(MENU *menu); +WINDOW *menu_sub(const MENU *menu); .br -int scale_window(MENU *menu, int *rows, int *columns); +int scale_menu(const MENU *menu, int *rows, int *columns); .br .SH DESCRIPTION Every menu has an associated pair of \fBcurses\fR windows. The menu window @@ -23,11 +23,11 @@ displays the items of the menu that are currently available for selection. The first four functions get and set those windows. It is not necessary to set either window; by default, the driver code uses \fBstdscr\fR for both. -In the \fBset_\fR functions, window argument of \fBNULL\fR is treated as tbough +In the \fBset_\fR functions, window argument of \fBNULL\fR is treated as though it were \fBstsdcr\fR. A menu argument of \fBNULL\fR is treated as a request to change the system default menu window or subwindow. -The function \fBscale_window\fR returns the minimum size required for the +The function \fBscale_menu\fR returns the minimum size required for the subwindow of \fImenu\fR. .SH RETURN VALUE Routines that return pointers return \fBNULL\fR on error. Routines that return |