ButtonBar

ButtonBarDisplay

Draw the button bar across the last terminal row

Syntax

Signature
xBool       ButtonBarDisplay( ButtonBar *buttonBar );

Arguments

buttonBar the button bar.

Return value

T on success, or F if the object is NULL.

Description

The bar uses `MaxRow()` and `MaxCol()` at the time of drawing. Items share the width as evenly as possible. Extra columns go to the first items in order. A separator reserves a blank slot, and an empty bar fills the row with the normal background.

Each visible button shows the shortcut label followed by its caption, aligned to the left of the slot. Function keys use labels `F1` through `F12`, and Ctrl-letter shortcuts use `^A` through `^Z`. The accelerator marker in the caption is omitted. The caption is truncated at UTF-8 character boundaries or padded to fit.

See also