Syntax
xBool TopBarSelect( TopBarMenu *topBar, int position );
Arguments
topBar the top bar menu.
position the one-based position of a selectable item, or 0 to clear the selection.
Return value
T on success, or F if the object is NULL or a nonzero position is outside the item list or refers to a disabled item or a separator.
Description
The call updates the position returned by `TopBarGetCurrent()`. Call `TopBarDisplay()` to draw the selection.