ListBox

ListBoxPrevItem

Select the previous item in a focused list box

Syntax

Signature
xBool        ListBoxPrevItem( ListBox *listBox );

Arguments

listBox the list box.

Return value

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

Description

The previous item precedes the current selection. With no selection, the function selects the first item. An empty or unfocused list or a list at the first item returns `T` without a selection change. When the selection changes, the function brings it into view, redraws the list and calls the selection callback if set.

See also