(Up to GLayout)

GStatusBar

The status bar is an panel that appears along the bottom of a container window and has a number of panes showing status information.

Custom controls can be implemented and attached to the status bar, things like sliders, progress meters and so on.


class GStatusBar :
    public GLayout
{
public:
    // Panes
    bool AppendPane(GStatusPane *Pane)
    GStatusPane *AppendPane(char *Text, int Width)
};

GStatusBar::AppendPane

bool AppendPane(GStatusPane *Pane)

Argument Description
GStatusPane *Pane Pane to append.

Appends an already constructed or custom pane.


GStatusBar::AppendPane

GStatusPane *AppendPane(char *Text, int Width)

Argument Description
char *Text The initial text on the button.
int Width The width of the button.

Constructs and appends a generic pane to the status bar.

Space is allocated to panes by aligning the panes to the right first and the left most pane takes up any remaining space.


Built: 13/9/2001 2:28:30 PM
© 2001 Matthew Allen
Lgi HomePage