ListBox

ListBoxSetColdBox

Set the frame used when the list box is unfocused

Syntax

Signature
xBool        ListBoxSetColdBox( ListBox *listBox, const char *coldBox );

Arguments

listBox the list box.

coldBox an empty string, eight or nine UTF-8 characters to copy, or NULL to restore B_SINGLE.

Return value

T on success, or F if the object is NULL or a supplied frame has a length other than zero, eight or nine characters.

Description

The frame uses `DispBox()` character order. An optional ninth character fills the interior before item rows are drawn. An empty string falls back to the focused frame.

Set both frame styles to empty strings to draw the list without a frame and give the item area the rows that would otherwise form its top and bottom edges. The standard frame constants are in `xdev-wtui-box.h`.

See also