| libgnomedb Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
struct 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); |
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 : |
|
GtkWidget* gnome_db_window_get_contents (GnomeDbWindow *window); |
| window : | |
| Returns : |
|
void gnome_db_window_set_contents (GnomeDbWindow *window,
GtkWidget *contents); |
| window : | |
| contents : |
|
void gnome_db_window_set_status (GnomeDbWindow *window,
const gchar *status); |
| window : | |
| status : |
|
BonoboUIComponent* gnome_db_window_get_ui_component
(GnomeDbWindow *window); |
Return the BonoboUIComponent associated with the given window.
| window : | a GnomeDbWindow widget. |
| Returns : |
|