The Gnome Chemistry Utils
0.13.6
|
GtkBuilder wrapping. More...
#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) |
GObject * | GetObject (char const *name) |
GtkBuilder * | GetBuilder (void) const |
GtkBuilder wrapping.
Wraps a GtkBuilder and provides some useful methods.
Definition at line 41 of file ui-builder.h.
gcugtk::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. |
Constructs a UIBuilder using the given file. Throws an exception if things fail.
virtual gcugtk::UIBuilder::~UIBuilder | ( | ) | [virtual] |
The destructor.
gcugtk::UIBuilder::GetBuilder | ( | void | ) | const [inline] |
Definition at line 80 of file ui-builder.h.
GObject* gcugtk::UIBuilder::GetObject | ( | char const * | name | ) |
name | an object name. |
GtkWidget* gcugtk::UIBuilder::GetRefdWidget | ( | char const * | wname | ) |
wname | a widget name. |
GtkWidget* gcugtk::UIBuilder::GetWidget | ( | char const * | wname | ) |
wname | a widget name. |