Name
GnomeDbControlWidget -- Client side of the GNOME-DB Bonobo controls
Description
The GnomeDbControlWidget widget allows you to easily load GNOME-DB
Bonobo controls in your application. It is, in other words, the client
side of the GNOME::Database::UIControl interface, allowing you not
only to load *ANY* Bonobo control (not only GNOME-DB ones), but to interact
with the control through the GNOME::Database::UIControl interface if the
loaded control implements it.
Details
gnome_db_control_widget_new ()
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.
gnome_db_control_widget_supported ()
gboolean gnome_db_control_widget_supported
(const gchar *goad_id); |
gnome_db_control_widget_is_alive ()
gboolean gnome_db_control_widget_is_alive
(GnomeDbControlWidget *wid); |
Pings the given GnomeDbControlWidget widget to see if the underlying
CORBA server is still alive.
gnome_db_control_widget_activate ()
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.
gnome_db_control_widget_deactivate ()
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.
gnome_db_control_widget_get_repo_id()
#define gnome_db_control_widget_get_repo_id(_wid_) |
gnome_db_control_widget_prop_supported ()
gboolean gnome_db_control_widget_prop_supported
(GnomeDbControlWidget *wid,
const gchar *prop_name); |
gnome_db_control_widget_get_prop ()
void gnome_db_control_widget_get_prop
(GnomeDbControlWidget *wid,
const gchar *prop_name,
gpointer *value); |
gnome_db_control_widget_set_prop_ptr ()
void gnome_db_control_widget_set_prop_ptr
(GnomeDbControlWidget *wid,
const gchar *prop_name,
gconstpointer value); |
gnome_db_control_widget_set_prop ()
void gnome_db_control_widget_set_prop
(GnomeDbControlWidget *wid,
const gchar *prop_name,
...); |
gnome_db_control_widget_get_version ()
gchar* gnome_db_control_widget_get_version
(GnomeDbControlWidget *wid); |
Return the version supported by the underlying control.
gnome_db_control_widget_get_authors ()
gchar* gnome_db_control_widget_get_authors
(GnomeDbControlWidget *wid); |
gnome_db_control_widget_run ()
void gnome_db_control_widget_run (GnomeDbControlWidget *wid); |
gnome_db_control_widget_set_owner ()
void gnome_db_control_widget_set_owner
(GnomeDbControlWidget *wid); |
gnome_db_control_widget_unset_owner ()
void gnome_db_control_widget_unset_owner
(GnomeDbControlWidget *wid); |
gnome_db_control_widget_do_print ()
void gnome_db_control_widget_do_print
(GnomeDbControlWidget *wid); |
gnome_db_control_widget_do_cut_clipboard ()
void gnome_db_control_widget_do_cut_clipboard
(GnomeDbControlWidget *wid); |
gnome_db_control_widget_do_copy_clipboard ()
void gnome_db_control_widget_do_copy_clipboard
(GnomeDbControlWidget *wid); |
gnome_db_control_widget_do_paste_clipboard ()
void gnome_db_control_widget_do_paste_clipboard
(GnomeDbControlWidget *wid); |