| Top |
| GtkWidget * | bonobo_selector_construct () |
| GtkWidget * | bonobo_selector_new () |
| gchar * | bonobo_selector_get_selected_id () |
| gchar * | bonobo_selector_get_selected_name () |
| gchar * | bonobo_selector_get_selected_description () |
| gchar * | bonobo_selector_select_id () |
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── BonoboSelector
GtkWidget * bonobo_selector_construct (BonoboSelector *sel,const gchar *title,BonoboSelectorWidget *selector);
Don't use this ever - use construct-time properties instead. TODO: Remove from header when we are allowed to change the API. Constructs the innards of a bonobo selector window.
GtkWidget * bonobo_selector_new (const gchar *title,const gchar **interfaces_required);
Creates a new BonoboSelector widget. The title of the dialog
is set to title
, and the list of selectable servers is populated
with those servers which support the interfaces specified in
interfaces_required
.
gchar *
bonobo_selector_get_selected_name (BonoboSelector *sel);
gchar *
bonobo_selector_get_selected_description
(BonoboSelector *sel);
gchar * bonobo_selector_select_id (const gchar *title,const gchar **interfaces_required);
Calls bonobo_selector_new() to create a new
BonoboSelector widget with the specified paramters, title
and
interfaces_required
. Then runs the dialog modally and allows
the user to make a selection.
title |
The title to be used for the dialog. |
|
interfaces_required |
A list of required interfaces. See
|
“cancel” signalvoid user_function (BonoboSelector *bonoboselector, gpointer user_data)
Flags: Run Last
“ok” signalvoid user_function (BonoboSelector *bonoboselector, gpointer user_data)
Flags: Run Last