GimpProcBrowserDialog

GimpProcBrowserDialog

Synopsis




                    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);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----GtkDialog
                                             +----GimpDialog
                                                   +----GimpProcBrowserDialog

Implemented Interfaces

GimpProcBrowserDialog implements AtkImplementorIface.

Signals


  "row-activated"                                  : Run Last
  "selection-changed"                              : Run Last

Description

Details

GimpProcBrowserDialog

typedef struct _GimpProcBrowserDialog GimpProcBrowserDialog;


gimp_proc_browser_dialog_new ()

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


gimp_proc_browser_dialog_get_selected ()

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

Signal Details

The "row-activated" signal

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.

The "selection-changed" signal

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.