![]() | ![]() | ![]() | LibBonoboUI API Reference Manual | ![]() |
---|
bonobo-window —
struct BonoboWindowPrivate; struct BonoboWindow; struct BonoboWindowClass; GtkWidget* bonobo_window_construct (BonoboWindow *win, BonoboUIContainer *ui_container, const char *win_name, const char *title); GtkWidget* bonobo_window_new (const char *win_name, const char *title); void bonobo_window_set_contents (BonoboWindow *win, GtkWidget *contents); GtkWidget* bonobo_window_get_contents (BonoboWindow *win); BonoboUIEngine* bonobo_window_get_ui_engine (BonoboWindow *win); BonoboUIContainer* bonobo_window_get_ui_container (BonoboWindow *win); void bonobo_window_set_name (BonoboWindow *win, const char *win_name); char* bonobo_window_get_name (BonoboWindow *win); GtkAccelGroup* bonobo_window_get_accel_group (BonoboWindow *win); void bonobo_window_add_popup (BonoboWindow *win, GtkMenu *popup, const char *path); void bonobo_window_remove_popup (BonoboWindow *win, const char *path);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----BonoboWindow
BonoboWindow implements AtkImplementorIface.
"win-name" gchararray : Read / Write / Construct
struct BonoboWindowClass { GtkWindowClass parent_class; gpointer dummy[4]; };
GtkWidget* bonobo_window_construct (BonoboWindow *win, BonoboUIContainer *ui_container, const char *win_name, const char *title);
Don't use this ever - use construct time properties instead. TODO: Remove this when we are allowed API changes.
win : | the window to construct |
ui_container : | |
win_name : | the window name |
title : | the window's title for the title bar |
Returns : | a constructed window |
GtkWidget* bonobo_window_new (const char *win_name, const char *title);
win_name : | the window name |
title : | the window's title for the title bar |
Returns : | a new BonoboWindow |
void bonobo_window_set_contents (BonoboWindow *win, GtkWidget *contents);
Insert a widget into the main window contents.
win : | the bonobo window |
contents : | the new widget for it to contain. |
GtkWidget* bonobo_window_get_contents (BonoboWindow *win);
win : | the bonobo window |
Returns : | the contained widget |
BonoboUIEngine* bonobo_window_get_ui_engine (BonoboWindow *win);
win : | the bonobo window |
Returns : | the BonoboUIEngine |
BonoboUIContainer* bonobo_window_get_ui_container (BonoboWindow *win);
win : | the bonobo window |
Returns : | the BonoboUIContainer |
void bonobo_window_set_name (BonoboWindow *win, const char *win_name);
Set the name of the window - used for configuration serialization.
win : | the bonobo window |
win_name : | the window name |
char* bonobo_window_get_name (BonoboWindow *win);
win : | the bonobo window |
Returns : | the name of the window |
GtkAccelGroup* bonobo_window_get_accel_group (BonoboWindow *win);
win : | the bonobo window |
Returns : | the associated accelerator group for this window |
void bonobo_window_add_popup (BonoboWindow *win, GtkMenu *popup, const char *path);
Add a popup menu at path
win : | the window |
popup : | |
path : | the path |
void bonobo_window_remove_popup (BonoboWindow *win, const char *path);
Remove the popup at path
win : | the window |
path : | the path |
<< BonoboWidget | BonoboUIComponent >> |