*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> menu_format (3)              
Title
Content
Arch
Section
 

MENU_FORMAT(3)

Contents


NAME    [Toc]    [Back]

     menu_format, set_menu_format - get or set number of rows and columns of
     items

LIBRARY    [Toc]    [Back]

     Curses Menu Library (libmenu, -lmenu)

SYNOPSIS    [Toc]    [Back]

     #include <menu.h>

     void
     menu_format(MENU *menu, int *rows, int *cols);

     int
     set_menu_format(MENU *menu, int rows, int cols);

DESCRIPTION    [Toc]    [Back]

     The menu_format() returns the number of rows and columns of items that
     can be displayed by the menu. The format is set by the set_menu_format()
     function call.  Note that the rows and columns defined here are not the
     size of the window but rather the number of rows and columns of items.

RETURN VALUES    [Toc]    [Back]

     The functions return one of the following error values:

     E_OK            The function was successful.
     E_BAD_ARGUMENT  One or more of the arguments passed to the function was
                     incorrect.
     E_POSTED        The menu is already posted.

SEE ALSO    [Toc]    [Back]

      
      
     curses(3), menus(3)

NOTES    [Toc]    [Back]

     The header <menu.h> automatically includes both <curses.h> and <eti.h>.

BSD                           September 10, 1999                           BSD
[ Back ]
 Similar pages
Name OS Title
clabrd IRIX reduce the first NB rows and columns of a complex general m by n matrix A to upper or lower real bidiagonal fo
slabrd IRIX reduce the first NB rows and columns of a real general m by n matrix A to upper or lower bidiagonal form by an
dlabrd IRIX reduce the first NB rows and columns of a real general m by n matrix A to upper or lower bidiagonal form by an
zlabrd IRIX reduce the first NB rows and columns of a complex general m by n matrix A to upper or lower real bidiagonal fo
ORTHES IRIX EISPACK routine. Given a REAL GENERAL matrix, this subroutine reduces a submatrix situated in rows and columns
ELMHES IRIX EISPACK routine. Given a REAL GENERAL matrix, this subroutine reduces a submatrix situated in rows and columns
clatrd IRIX reduce NB rows and columns of a complex Hermitian matrix A to Hermitian tridiagonal form by a unitary similari
dlatrd IRIX reduce NB rows and columns of a real symmetric matrix A to symmetric tridiagonal form by an orthogonal similar
zlatrd IRIX reduce NB rows and columns of a complex Hermitian matrix A to Hermitian tridiagonal form by a unitary similari
slatrd IRIX reduce NB rows and columns of a real symmetric matrix A to symmetric tridiagonal form by an orthogonal similar
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service