![]() | ![]() | ![]() | GNOME-DB API reference | ![]() |
---|
GtkWidget * gnome_db_control_widget_new (constgchar *id,Bonobo_UIContainer uic);gboolean gnome_db_control_widget_supported (constgchar *goad_id);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); #define gnome_db_control_widget_get_repo_id(_wid_)gboolean gnome_db_control_widget_prop_supported (GnomeDbControlWidget *wid, constgchar *prop_name); void gnome_db_control_widget_get_prop (GnomeDbControlWidget *wid, constgchar *prop_name,gpointer *value); void gnome_db_control_widget_set_prop_ptr (GnomeDbControlWidget *wid, constgchar *prop_name,gconstpointer value); void gnome_db_control_widget_set_prop (GnomeDbControlWidget *wid, constgchar *prop_name, ...);gchar * gnome_db_control_widget_get_version (GnomeDbControlWidget *wid);gchar * gnome_db_control_widget_get_authors (GnomeDbControlWidget *wid); void gnome_db_control_widget_run (GnomeDbControlWidget *wid); void gnome_db_control_widget_set_owner (GnomeDbControlWidget *wid); void gnome_db_control_widget_unset_owner (GnomeDbControlWidget *wid); void gnome_db_control_widget_do_print (GnomeDbControlWidget *wid); void gnome_db_control_widget_do_cut_clipboard (GnomeDbControlWidget *wid); void gnome_db_control_widget_do_copy_clipboard (GnomeDbControlWidget *wid); void gnome_db_control_widget_do_paste_clipboard (GnomeDbControlWidget *wid);
The
GtkWidget * gnome_db_control_widget_new (constgchar *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 : | ID of the Bonobo control to be loaded |
uic : | a reference to the Bonobo_UIContainer to use for the control |
Returns : | a pointer to the newly-created widget |
gboolean gnome_db_control_widget_supported (constgchar *goad_id);
goad_id : | |
Returns : |
|
gboolean gnome_db_control_widget_is_alive (GnomeDbControlWidget *wid);
Pings the given
wid : | a |
Returns : | TRUE if alive, FALSE if dead |
void gnome_db_control_widget_activate (GnomeDbControlWidget *wid);
Activates the given
wid : | a |
void gnome_db_control_widget_deactivate (GnomeDbControlWidget *wid);
Deactivates the given
wid : | a |
gboolean gnome_db_control_widget_prop_supported (GnomeDbControlWidget *wid, constgchar *prop_name);
wid : | |
prop_name : | |
Returns : |
|
void gnome_db_control_widget_get_prop (GnomeDbControlWidget *wid, constgchar *prop_name,gpointer *value);
wid : | |
prop_name : | |
value : |
|
void gnome_db_control_widget_set_prop_ptr (GnomeDbControlWidget *wid, constgchar *prop_name,gconstpointer value);
wid : | |
prop_name : | |
value : |
|
void gnome_db_control_widget_set_prop (GnomeDbControlWidget *wid, constgchar *prop_name, ...);
wid : | |
prop_name : | |
... : |
|
gchar * gnome_db_control_widget_get_version (GnomeDbControlWidget *wid);
Return the version supported by the underlying control.
wid : | control widget |
Returns : | a newly allocated string that contains the version number. |
gchar * gnome_db_control_widget_get_authors (GnomeDbControlWidget *wid);
wid : | |
Returns : |
|
void gnome_db_control_widget_run (GnomeDbControlWidget *wid);
wid : | control widget |
void gnome_db_control_widget_set_owner (GnomeDbControlWidget *wid);
wid : | a |
void gnome_db_control_widget_unset_owner (GnomeDbControlWidget *wid);
wid : |
|
void gnome_db_control_widget_do_print (GnomeDbControlWidget *wid);
wid : | control widget |
void gnome_db_control_widget_do_cut_clipboard (GnomeDbControlWidget *wid);
wid : | control widget |
void gnome_db_control_widget_do_copy_clipboard (GnomeDbControlWidget *wid);
wid : | control widget |
void gnome_db_control_widget_do_paste_clipboard (GnomeDbControlWidget *wid);
wid : | control widget |
<<< gnome-db-control-defprops | GnomeDbControl >>> |