See Fl_Browser for methods to add and remove lines from the browser.
Fl_Multi_Browser::Fl_Multi_Browser(int x,int y,int w,int
h,const char *l)
Fl_When Fl_Widget::when() const;
void Fl_Widget::when(Fl_When);
FL_WHEN_RELEASE
:0
: The callback is not done, but changed() is turned
on.
FL_WHEN_CHANGED
: The callback is done as the user
drags the mouse, for each item that turns on or off. There can
be many callbacks for each X event. value() will tell you which line
changed.
FL_WHEN_RELEASE
(default value) : The callback is
done when the user releases the mouse. You will have to scan through
them to find out what the new set of selected items is.
FL_WHEN_RELEASE|FL_WHEN_NOT_CHANGED
: The callback is
done even if the user clicks on the same item as before.
int Fl_Browser::value() const ;
void Fl_Browser::value(int) ;
int Fl_Browser::deselect();
int Fl_Browser::select(int, int=1);
int Fl_Browser::selected(int) const ;