The Fl_Select_Browser class is a subclass of Fl_Browser
which lets the user select a single item, or no items by clicking on
the empty space. As long as the mouse button is held down on an
unselected item it is highlighted. Normally the callback is done when the
user presses the mouse, but you can change this with when().
See Fl_Browser for
methods to add and remove lines from the browser.
Creates a new Fl_Select_Browser widget using the given
position, size, and label string. The default boxtype is FL_DOWN_BOX
The destructor also deletes all the items in the list.
Deselects any selected item.
You can use these for compatibility with
Fl_Multi_Browser. If you turn on the selection of more
than one line the results are unpredictable.
Returns the number of the highlighted item, or zero if none. Notice
that this is going to be zero except during a callback!