class Fl_StatusPanel

Class Hierarchy

Include Files


This is a status panel that shows indicators for the CAPS and NUM lock states, an INS (insert) state, and an arbitrary status message. It also includes an embedded progress bar which is normally hidden but can be displayed and used on demand.


Fl_StatusPanel::Fl_StatusPanel(int x, int y, int w, int h, const char *label = 0)

Creates a new Fl_StatusPanel widget using the given position, size, and label string.

virtual Fl_StatusPanel::~Fl_StatusPanel()

Destroys the widget and any value associated with it.

void Fl_StatusPanel::cap(bool)

Toggle whether the CAP (caps lock) indicator is on.

void Fl_StatusPanel::handle()

This is the event handler loop. If you need to subclass and define special event processing, this is where you'll start.

void Fl_StatusPanel::ins(bool)

Toggle whether the INS (insert) indicator is on.

void Fl_StatusPanel::num(bool)

Toggle whether the NUM (number lock) indicator is on.

Fl_ProgressBox *Fl_StatusPanel::progressbar()

Get a pointer to the embedded progress bar.

void Fl_StatusPanel::status(const char *)

Set the status text. (For example, the editor widget sets this to be the cursor row and column.)

void Fl_StatusPanel::showprogress(bool)

Toggle whether or not to make the embedded progress bar visible.

void Fl_StatusPanel::updatestatus()

Update the indicator display for CAPs and NUM, based on the most recent FLTK event.