|  |  |  | LibBonoboUI API Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
BonoboWindowPrivate; BonoboWindow; 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
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----BonoboWindow
typedef struct {
	GtkWindowClass    parent_class;
	gpointer dummy[4];
} BonoboWindowClass;
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.
| 
 | the window to construct | 
| 
 | |
| 
 | the window name | 
| 
 | the window's title for the title bar | 
| Returns : | a constructed window | 
GtkWidget * bonobo_window_new (const char *win_name, const char *title);
| 
 | the window name | 
| 
 | 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.
| 
 | the bonobo window | 
| 
 | the new widget for it to contain. | 
GtkWidget * bonobo_window_get_contents (BonoboWindow *win);
| 
 | the bonobo window | 
| Returns : | the contained widget | 
BonoboUIEngine * bonobo_window_get_ui_engine (BonoboWindow *win);
| 
 | the bonobo window | 
| Returns : | the BonoboUIEngine | 
BonoboUIContainer * bonobo_window_get_ui_container (BonoboWindow *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.
| 
 | the bonobo window | 
| 
 | the window name | 
char * bonobo_window_get_name (BonoboWindow *win);
| 
 | the bonobo window | 
| Returns : | the name of the window | 
GtkAccelGroup * bonobo_window_get_accel_group (BonoboWindow *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
| 
 | the window | 
| 
 | |
| 
 | the path | 
void bonobo_window_remove_popup (BonoboWindow *win, const char *path);
Remove the popup at path
| 
 | the window | 
| 
 | the path |