ListBox

ListBoxKillFocus

Remove input focus from the list box

Syntax

Signature
xBool        ListBoxKillFocus( ListBox *listBox );

Arguments

listBox the list box.

Return value

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

Description

When the list has focus, this clears the focus flag and calls the focus callback if set. It then closes any open drop-down, redraws the list in its unfocused colors and restores the cursor shape saved by `ListBoxSetFocus()`. An unfocused list returns `T` immediately.

See also