GtkBuilder wrapping.
More...
#include <ui-builder.h>
GtkBuilder wrapping.
Wraps a GtkBuilder and provides some useful methods.
Definition at line 42 of file tk/ui-builder.h.
gcugtk::UIBuilder::UIBuilder |
( |
| ) |
|
gcugtk::UIBuilder::UIBuilder |
( |
char const * |
filename, |
|
|
char const * |
domain |
|
) |
| |
throw | ( | std::runtime_error |
| ) | | |
- Parameters
-
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 |
void gcugtk::UIBuilder::ActivateActionWidget |
( |
char const * |
path, |
|
|
bool |
activate |
|
) |
| |
|
virtual |
- Parameters
-
path | a path describing a menu or tool item. |
activate | whether to activate the item. |
Make the item associated to path active or inactive according to activate.
Reimplemented from gcu::UIBuilder.
gcugtk::UIBuilder::GetBuilder |
( |
void |
| ) |
const |
|
inline |
GObject* gcugtk::UIBuilder::GetObject |
( |
char const * |
name | ) |
|
- Parameters
-
- Returns
- the found object if any.
GtkWidget* gcugtk::UIBuilder::GetRefdWidget |
( |
char const * |
wname | ) |
|
- Parameters
-
- Returns
- the found widget if any with an incremented references count.
GtkWidget* gcugtk::UIBuilder::GetWidget |
( |
char const * |
wname | ) |
|
- Parameters
-
- Returns
- the found widget if any.
The documentation for this class was generated from the following file: