GnomeDbWindow

GnomeDbWindow — Application main window widget

Synopsis




            GnomeDbWindowPrivate;
GtkWidget*  gnome_db_window_new             (const gchar *name,
                                             const gchar *app_prefix,
                                             const gchar *ui_xml_file,
                                             BonoboUIVerb *verbs,
                                             gpointer data);
void        gnome_db_window_close           (GnomeDbWindow *window);
void        gnome_db_window_show            (GnomeDbWindow *window);
GtkWidget*  gnome_db_window_get_contents    (GnomeDbWindow *window);
void        gnome_db_window_set_contents    (GnomeDbWindow *window,
                                             GtkWidget *contents);
void        gnome_db_window_set_status      (GnomeDbWindow *window,
                                             const gchar *status);
BonoboUIComponent* gnome_db_window_get_ui_component
                                            (GnomeDbWindow *window);
Bonobo_UIContainer gnome_db_window_get_ui_container
                                            (GnomeDbWindow *window);

Description

Details

GnomeDbWindowPrivate

typedef struct _GnomeDbWindowPrivate GnomeDbWindowPrivate;


gnome_db_window_new ()

GtkWidget*  gnome_db_window_new             (const gchar *name,
                                             const gchar *app_prefix,
                                             const gchar *ui_xml_file,
                                             BonoboUIVerb *verbs,
                                             gpointer data);

Create a new GnomeDbWindow widget, which is a convenience widget which manages a typical application window, with its menus and toolbar. Apart from this, it implements a full-features Bonobo container, thus letting you easily add Bonobo support to your applications.

name : name of the window
app_prefix : prefix used for the UI XML file (/usr/share, /usr/local/share...)
ui_xml_file : XML file that describes the UI for this window
verbs : UI verbs handlers
data : data to be passed to callbacks
Returns :

gnome_db_window_close ()

void        gnome_db_window_close           (GnomeDbWindow *window);

window :

gnome_db_window_show ()

void        gnome_db_window_show            (GnomeDbWindow *window);

window :

gnome_db_window_get_contents ()

GtkWidget*  gnome_db_window_get_contents    (GnomeDbWindow *window);

window :
Returns :

gnome_db_window_set_contents ()

void        gnome_db_window_set_contents    (GnomeDbWindow *window,
                                             GtkWidget *contents);

window :
contents :

gnome_db_window_set_status ()

void        gnome_db_window_set_status      (GnomeDbWindow *window,
                                             const gchar *status);

window :
status :

gnome_db_window_get_ui_component ()

BonoboUIComponent* gnome_db_window_get_ui_component
                                            (GnomeDbWindow *window);

Return the BonoboUIComponent associated with the given window.

window : a GnomeDbWindow widget.
Returns :

gnome_db_window_get_ui_container ()

Bonobo_UIContainer gnome_db_window_get_ui_container
                                            (GnomeDbWindow *window);

window :
Returns :