class Fl_Browser : public Fl_Browser_

This is the Forms compatible browser. It displays a scrolling list of text lines, and manages all the storage for the text. This widget does nothing when the user clicks on it. There are subclasses that react to user clicks to select lines in the browser and do callbacks:

There is a base class called Fl_Browser_. This provides the scrolling and selection mechanisms of this and all the subclasses, but the dimensions and appearance of each item are determined by the subclass. You can use Fl_Browser_ to display information other than text, or text that is dynamically produced from your own data structures. If you find that loading the browser is a lot of work or is inefficient, you may want to make a subclass of Fl_Browser_.

Notice that the first line is No. 1, this is so that zero can be reserved for "no line" in the selective browsers.

Fl_Browser::Fl_Browser(int,int,int,int,const char * =0);

void Fl_Browser::add(const char *);

void Fl_Browser::remove(int);

void Fl_Browser::insert(int,const char *);

void Fl_Browser::replace(int,const char *);

void Fl_Browser::clear();

int Fl_Browser::load(const char *filename);

int Fl_Browser::size() const ;

const char* Fl_Browser::text(int) const ;

int Fl_Browser::topline() const ;
void Fl_Browser::topline(int);

int Fl_Browser::position() const ;
void Fl_Browser::position(int);

void Fl_Browser::display(int,int=1);
int Fl_Browser::displayed(int) const ;

uchar Fl_Browser::textfont() const ;
void Fl_Browser::textfont(uchar);
uchar Fl_Browser::textsize() const ;
void Fl_Browser::textsize(uchar);
uchar Fl_Browser::textcolor() const ;
void Fl_Browser::textcolor(uchar);

uchar Fl_Browser::column_char() const ;
void Fl_Browser::column_char(char);

const int* Fl_Browser::column_widths() const ;
void Fl_Browser::column_widths(const int*);

uchar Fl_Browser::format_char() const ;
void Fl_Browser::format_char(char);