TBrowse

TBrowseNew

Create a browse in the given terminal rectangle

Syntax

Signature
TBrowse *TBrowseNew( int top, int left, int bottom, int right, const TBrowseOpts *opts );

Arguments

top, left, bottom, right give the terminal rectangle. Each NIL coordinate uses the corresponding screen edge.

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

Return value

The new TBrowse object. Release it with TBrowseFree().

Description

Include xdev-wtui-classes.h. Create the browse, attach one TBColumn for each field to display, and set the callbacks that move the data source. The browse copies the option strings. The default color table comes from SetColor(). The default column separator is a space.

See also