#include <ui-builder.h>
Public Member Functions | |
UIBuilder (char const *filename, char const *domain) throw (std::runtime_error) | |
virtual | ~UIBuilder () |
GtkWidget * | GetWidget (char const *wname) |
GtkWidget * | GetRefdWidget (char const *wname) |
GtkComboBox * | GetComboBox (char const *cbname) |
GtkBuilder * | GetBuilder (void) const |
Wraps a GtkBuilder and provides some useful methods.
Definition at line 41 of file ui-builder.h.
gcu::UIBuilder::UIBuilder | ( | char const * | filename, | |
char const * | domain | |||
) | throw (std::runtime_error) |
filename,: | the name of the ui file which contains the description of the widgets. | |
domain,: | the translation domain. |
virtual gcu::UIBuilder::~UIBuilder | ( | ) | [virtual] |
The destructor.
gcu::UIBuilder::GetBuilder | ( | void | ) | const [inline] |
GtkComboBox* gcu::UIBuilder::GetComboBox | ( | char const * | cbname | ) |
cbname | a combo box name. |
GtkWidget* gcu::UIBuilder::GetRefdWidget | ( | char const * | wname | ) |
wname | a widget name. |
GtkWidget* gcu::UIBuilder::GetWidget | ( | char const * | wname | ) |
wname | a widget name. |