CEBL
2.1
|
#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 | |
![]() | |
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 | |
![]() | |
void | setWidgetContainer (GtkWidget *widget) |
![]() | |
GtkWidget * | cebl_gtk_widget_container |
Definition at line 50 of file StatusBar.hpp.
StatusBar::StatusBar | ( | ) |
Definition at line 9 of file StatusBar.cpp.
References CEBLGtkWidget::setWidgetContainer(), and CEBLGtkWidget::show().
StatusBar::~StatusBar | ( | ) |
Definition at line 18 of file StatusBar.cpp.
void StatusBar::pop | ( | ) |
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().