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 object 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(int,int,int,int,const char * =0);

void add(const char *);

void remove(int);

void insert(int,const char *);

void replace(int,const char *);

void clear();

int load(const char *filename);

int size() const ;

const char *text(int) const ;

int topline() const ;
void topline(int);

int position() const ;
void position(int);

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

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

uchar specialkey() const ;
void specialkey(char);