Get

GetNewL

Create a Get for a logical variable

Syntax

Signature
Get *GetNewL( int row, int col, xBool *value, const char *name, const GetOpts *opts );

Arguments

row, col the terminal position of the field; NIL uses the cursor position.

value points to the logical variable.

name the name of the variable, or NULL for "".

opts points to a GetOpts structure, or NULL for defaults.

Return value

The new Get object, or NULL when value is NULL. Release it with GetFree().

Description

The field shows T or F, or Y or N with the picture "Y". The keys T, F, Y and N in either case change it.

See also