| GIMP Library Reference Manual | ||||
|---|---|---|---|---|
GimpProcBrowserDialog;
GtkWidget* gimp_proc_browser_dialog_new (const gchar *title,
const gchar *role,
GimpHelpFunc help_func,
const gchar *help_id,
...);
gchar* gimp_proc_browser_dialog_get_selected
(GimpProcBrowserDialog *dialog);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkDialog
+----GimpDialog
+----GimpProcBrowserDialog
"row-activated" void user_function (GimpProcBrowserDialog *dialog, gpointer user_data) : Run last "selection-changed" void user_function (GimpProcBrowserDialog *dialog, gpointer user_data) : Run last
GtkWidget* gimp_proc_browser_dialog_new (const gchar *title,
const gchar *role,
GimpHelpFunc help_func,
const gchar *help_id,
...);
Create a new GimpProcBrowserDialog.
title : |
The dialog's title. |
role : |
The dialog's role, see gtk_window_set_role().
|
help_func : |
The function which will be called if the user presses "F1". |
help_id : |
The help_id which will be passed to help_func.
|
... : |
A NULL-terminated list destribing the action_area buttons.
|
| Returns : | a newly created GimpProcBrowserDialog. |
Since GIMP 2.4
gchar* gimp_proc_browser_dialog_get_selected
(GimpProcBrowserDialog *dialog);
Retrieves the name of the currently selected procedure.
dialog : |
a GimpProcBrowserDialog |
| Returns : | The name of the selected procedure of NULL if no
procedure is selected.
|
Since GIMP 2.4
void user_function (GimpProcBrowserDialog *dialog, gpointer user_data) : Run last
Emitted when one of the rows in the contained GtkTreeView is activated.
dialog : |
the object that received the signal |
user_data : |
user data set when the signal handler was connected. |
void user_function (GimpProcBrowserDialog *dialog, gpointer user_data) : Run last
Emitted when the selection in the contained GtkTreeView changes.
dialog : |
the object that received the signal |
user_data : |
user data set when the signal handler was connected. |