Class Hierarchy
Fl_Browser
|
+----Fl_Multi_Browser
Include Files
#include <FL/Fl_Multi_Browser.H>
Description
The Fl_Multi_Browser class is a subclass of Fl_Browser
which lets the user select any set of the lines. The user interface
is Macintosh style: clicking an item turns off all the others and
selects that one, dragging selects all the items the mouse moves over,
and shift + click toggles the items. This is different then how forms
did it. Normally the callback is done when the user releases the
mouse, but you can change this with when().
See Fl_Browser for
methods to add and remove lines from the browser.
Methods
Creates a new Fl_Multi_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 all lines.
Selects one or more lines or gets the current selection state of a
line.
Selects a single line or gets the last toggled line. This returns zero
if no line has been toggled, so be aware that this can happen in a
callback.