X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fmenu_format.3x;h=b72fe22e2c346c2378f64a03132796b689c23215;hp=b9a572b017741941ffb9db7474f43fc3e9421e55;hb=c3b21f65a2687f3894a0d3217006c23f162c893a;hpb=96d6b16de0d487e5d3aed0302a179dbce11b5d96 diff --git a/man/menu_format.3x b/man/menu_format.3x index b9a572b0..b72fe22e 100644 --- a/man/menu_format.3x +++ b/man/menu_format.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2015,2016 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,10 +27,11 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: menu_format.3x,v 1.12 2010/12/04 18:40:45 tom Exp $ +.\" $Id: menu_format.3x,v 1.14 2016/10/15 17:02:31 tom Exp $ .TH menu_format 3X "" .SH NAME -\fBmenu_format\fR \- set and get menu sizes +\fBset_menu_format\fP, +\fBmenu_format\fP \- set and get menu sizes .SH SYNOPSIS \fB#include \fR .br @@ -42,7 +43,7 @@ void menu_format(const MENU *menu, int *rows, int *cols); The function \fBset_menu_format\fR 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 subwindow and the -subwindow is too small to display all menu items, \fBpost_menu()\fR will fail. +subwindow is too small to display all menu items, \fBpost_menu\fR will fail. .PP The default format is 16 rows, 1 column. Calling \fBset_menu_format\fR with a null menu pointer will change this default. A zero row or column argument to