menu_opts


HOME

menu_opts

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

mitem_opts − set and get menu item options

SYNOPSIS

#include <menu.h>
int set_item_opts(ITEM *item, Item_Options opts);
int item_opts_on(ITEM *item, Item_Options opts);
int item_opts_off(ITEM *item, Item_Options opts);
Item_Options item_opts(const ITEM *item);

DESCRIPTION

The function set_item_opts sets all the given item’s option bits (menu option bits may be logically-OR’ed together).

The function item_opts_on turns on the given option bits, and leaves others alone.

The function item_opts_off turns off the given option bits, and leaves others alone.

The function item_opts returns the item’s current option bits.

There is only one defined option bit mask, O_SELECTABLE. When this is on, the item may be selected during menu processing. This option defaults to on.

RETURN VALUE

Except for item_opts, each routine returns one of the following:

E_OK

The routine succeeded.

E_SYSTEM_ERROR

System error occurred (see errno).

SEE ALSO

ncurses(3NCURSES), menu(3MENU).

NOTES

The header file <menu.h> automatically includes the header file <curses.h>.

PORTABILITY

These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.

AUTHORS

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.




More Linux Commands

manpages/curl_global_init_mem.3.html
curl_global_init_mem(3) - Global libcurl initialisation with
This function works exactly as curl_global_init(3) with one addition: it allows the application to set callbacks to replace the otherwise used internal memory f

manpages/glMultiTexCoord2svARB.3gl.html
glMultiTexCoord2svARB(3gl) - set the current texture coordin
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1

manpages/wine.1.html
wine(1) - run Windows programs on Unix - Linux manual page
wine loads and runs the given program, which can be a DOS, Windows 3.x, Win32 or Win64 executable (on 64-bit systems). For debugging wine, use winedbg instead.

manpages/clnt_perrno.3.html
clnt_perrno(3) - library routines for remote procedure calls
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

manpages/ruby.1.html
ruby(1) - Interpreted object-oriented scripting language....
Ruby is an interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management

manpages/re_syntax.n.html
re_syntax(n) - Syntax of Tcl regular expressions (Man Page)
A regular expression describes strings of characters. Its a pattern that matches certain strings and does not match others. DIFFERENT FLAVORS OF REs Regular exp

manpages/uuencode.1.html
uuencode(1) - encode a binary file, or decode its representa
Uuencode and uudecode are used to transmit binary files over channels that support only simple ASCII data. Uuencode reads file (or by default the standard input

manpages/fwprintf.3.html
fwprintf(3) - formatted wide-character output conversion....
The wprintf() family of functions is the wide-character equivalent of the printf(3) family of functions. It performs formatted output of wide characters. The wp

manpages/procmailex.5.html
procmailex(5) - procmail rcfile examples - Linux man page...
For a description of the rcfile format see procmailrc(5). The weighted scoring technique is described in detail in the procmailsc(5) man page. This man page sho

manpages/Tcl_Init.3.html
Tcl_Init(3) - find and source initialization script.........
Tcl_Init is a helper procedure that finds and sources the init.tcl script, which should exist somewhere on the Tcl library path. Tcl_Init is typically called fr

manpages/tcl_traceExec.n.html
tcl_traceExec(n) Variables used by Tcl _____________________
The following global variables are created and managed automatically by the Tcl library. Except where noted below, these variables should normally be treated as

manpages/secure_getenv.3.html
secure_getenv(3) get an environment variable (Man Page).....
The getenv() function searches the environment list to find the environment variable name, and returns a pointer to the corresponding value string. The GNU-spec





We can't live, work or learn in freedom unless the software we use is free.