![]() |
![]() |
![]() |
libgnomedb Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GnomeDbControlWidgetPrivate; GtkWidget * gnome_db_control_widget_construct (GnomeDbControlWidget *wid
,const gchar *id
,Bonobo_UIContainer uic
); GtkWidget * gnome_db_control_widget_new (const gchar *id
,Bonobo_UIContainer uic
); GtkWidget * gnome_db_control_widget_new_from_corba (Bonobo_Control control
,Bonobo_UIContainer uic
); gboolean gnome_db_control_widget_is_alive (GnomeDbControlWidget *wid
); void gnome_db_control_widget_activate (GnomeDbControlWidget *wid
); void gnome_db_control_widget_deactivate (GnomeDbControlWidget *wid
); const gchar * gnome_db_control_widget_get_id (GnomeDbControlWidget *wid
); Bonobo_Unknown gnome_db_control_widget_get_objref (GnomeDbControlWidget *wid
); Bonobo_UIContainer gnome_db_control_widget_get_ui_container (GnomeDbControlWidget *wid
);
typedef struct _GnomeDbControlWidgetPrivate GnomeDbControlWidgetPrivate;
GtkWidget * gnome_db_control_widget_construct (GnomeDbControlWidget *wid
,const gchar *id
,Bonobo_UIContainer uic
);
Returns : |
GtkWidget * gnome_db_control_widget_new (const gchar *id
,Bonobo_UIContainer uic
);
Creates a new widget that loads the Bonobo control specified by the
id
parameter.
The second argument, uic
, is needed to associate a Bonobo container
with the new control, so that menus and toolbars are merged. This is
easily done by using a GnomeDbWindow for all your Bonobo container needs,
and then use the gnome_db_window_get_ui_container to retrieve the
Bonobo_UIContainer associated with the GnomeDbWindow widget.
|
ID of the Bonobo control to be loaded |
|
a reference to the Bonobo_UIContainer to use for the control |
Returns : |
a pointer to the newly-created widget |
GtkWidget * gnome_db_control_widget_new_from_corba (Bonobo_Control control
,Bonobo_UIContainer uic
);
Returns : |
gboolean gnome_db_control_widget_is_alive (GnomeDbControlWidget *wid
);
Pings the given GnomeDbControlWidget widget to see if the underlying CORBA server is still alive.
|
a GnomeDbControlWidget widget |
Returns : |
TRUE if alive, FALSE if dead. |
void gnome_db_control_widget_activate (GnomeDbControlWidget *wid
);
Activates the given GnomeDbControlWidget widget. This means that the underlying control's menus and toolbars will be merged with the menus and toolbars of the container being used, generally a GnomeDbWindow widget.
|
a GnomeDbControlWidget widget |
void gnome_db_control_widget_deactivate (GnomeDbControlWidget *wid
);
Deactivates the given GnomeDbControlWidget widget. This means that all of the control's menus and toolbars are removed from the container.
|
a GnomeDbControlWidget widget |
const gchar * gnome_db_control_widget_get_id (GnomeDbControlWidget *wid
);
Returns the ID of the underlying control.
|
a GnomeDbControlWidget widget. |
Returns : |
the ID of the underlying control. |
Bonobo_Unknown gnome_db_control_widget_get_objref (GnomeDbControlWidget *wid
);
Returns : |