CEBL  2.1
Public Member Functions
StatusBar Class Reference

#include <StatusBar.hpp>

Public Member Functions

 StatusBar ()
 ~StatusBar ()
void remove (StatusID &id)
 remove the message with specified id from status bar stack
void pop ()
 pop the top message on the stack
StatusID push (string message)
 push a message onto the stack, and return its id
StatusID pushVolatile (string message)
 push a message onto the stack which will be removed when another message is added
StatusID pushTimed (string message, int ms=2000)
 push a message which only appears for a short time and then pops, ms is number of milliseconds to wait
- Public Member Functions inherited from CEBLGtkWidget
 CEBLGtkWidget ()
virtual ~CEBLGtkWidget ()
virtual GtkWidget * getContainer ()
 get pointer to gtk widget
virtual operator GtkWidget * ()
 get pointer to gtk widget
virtual void removeWidget (GtkWidget *widget)
 remove a widget from the container
virtual void hide ()
 hide the widget
virtual void show ()
 show the widget

Additional Inherited Members

- Protected Member Functions inherited from CEBLGtkWidget
void setWidgetContainer (GtkWidget *widget)
- Protected Attributes inherited from CEBLGtkWidget
GtkWidget * cebl_gtk_widget_container

Detailed Description

Definition at line 50 of file StatusBar.hpp.


Constructor & Destructor Documentation

StatusBar::StatusBar ( )

StatusBar.hpp

Author:
Jeshua Bratman

Definition at line 9 of file StatusBar.cpp.

References CEBLGtkWidget::setWidgetContainer(), and CEBLGtkWidget::show().

StatusBar::~StatusBar ( )

Definition at line 18 of file StatusBar.cpp.


Member Function Documentation

void StatusBar::pop ( )

pop the top message on the stack

Definition at line 34 of file StatusBar.cpp.

Referenced by push().

StatusID StatusBar::push ( string  message)

push a message onto the stack, and return its id

Definition at line 60 of file StatusBar.cpp.

References StatusID::context_id, and pop().

Referenced by pushVolatile(), and TabDevice::updateView().

StatusID StatusBar::pushTimed ( string  message,
int  ms = 2000 
)

push a message which only appears for a short time and then pops, ms is number of milliseconds to wait

push a message which only appears for a short time and then pops

Definition at line 92 of file StatusBar.cpp.

References pushVolatile().

StatusID StatusBar::pushVolatile ( string  message)

push a message onto the stack which will be removed when another message is added

Definition at line 83 of file StatusBar.cpp.

References push().

Referenced by pushTimed().

void StatusBar::remove ( StatusID id)

remove the message with specified id from status bar stack

Definition at line 24 of file StatusBar.cpp.

Referenced by TabMonitor::onHide(), and TabDevice::updateView().


The documentation for this class was generated from the following files: