ListBox

ListBoxSetHotBox

Set the frame used when the list box is focused

Syntax

Signature
xBool        ListBoxSetHotBox( ListBox *listBox, const char *hotBox );

Arguments

listBox the list box.

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

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 unfocused 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