X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fmenu_win.3x;h=ae764ec9a1264272210ff9dba86606027234bb0e;hp=be1db5738b914d4bca1fff54d3b374036fb0dd3a;hb=152c5a605234b7ea36ba3a03ec07e124bb6aac75;hpb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d diff --git a/man/menu_win.3x b/man/menu_win.3x index be1db573..ae764ec9 100644 --- a/man/menu_win.3x +++ b/man/menu_win.3x @@ -1,6 +1,7 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. * +.\" Copyright 2018-2019,2020 Thomas E. Dickey * +.\" Copyright 1998-2006,2010 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -27,22 +28,22 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: menu_win.3x,v 1.13 2019/01/20 20:32:23 tom Exp $ +.\" $Id: menu_win.3x,v 1.15 2020/10/17 23:50:51 tom Exp $ .TH menu_win 3X "" .SH NAME \fBmenu_win\fR \- make and break menu window and subwindow associations .SH SYNOPSIS \fB#include \fR +.sp +\fBint set_menu_win(MENU *\fP\fImenu\fP\fB, WINDOW *\fP\fIwin\fP\fB);\fP .br -int set_menu_win(MENU *menu, WINDOW *win); +\fBWINDOW *menu_win(const MENU *\fP\fImenu\fP\fB);\fP +.sp +\fBint set_menu_sub(MENU *\fP\fImenu\fP\fB, WINDOW *\fP\fIsub\fP\fB);\fP .br -WINDOW *menu_win(const MENU *menu); -.br -int set_menu_sub(MENU *menu, WINDOW *sub); -.br -WINDOW *menu_sub(const MENU *menu); -.br -int scale_menu(const MENU *menu, int *rows, int *columns); +\fBWINDOW *menu_sub(const MENU *\fP\fImenu\fP\fB);\fP +.sp +\fBint scale_menu(const MENU *\fP\fImenu, int *\fP\fIrows\fP\fB, int *\fP\fIcolumns);\fP .br .SH DESCRIPTION Every menu has an associated pair of \fBcurses\fR windows.