GimpToolDialog

GimpToolDialog

Synopsis

                    GimpToolDialog;
GtkWidget *         gimp_tool_dialog_new                (GimpToolInfo *tool_info,
                                                         GimpDisplayShell *shell,
                                                         const gchar *desc,
                                                         ...);
void                gimp_tool_dialog_set_shell          (GimpToolDialog *tool_dialog,
                                                         GimpDisplayShell *shell);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----GtkDialog
                                             +----GimpDialog
                                                   +----GimpViewableDialog
                                                         +----GimpToolDialog

Implemented Interfaces

GimpToolDialog implements AtkImplementorIface and GtkBuildable.

Description

Details

GimpToolDialog

typedef struct _GimpToolDialog GimpToolDialog;


gimp_tool_dialog_new ()

GtkWidget *         gimp_tool_dialog_new                (GimpToolInfo *tool_info,
                                                         GimpDisplayShell *shell,
                                                         const gchar *desc,
                                                         ...);

This function conveniently creates a GimpViewableDialog using the information stored in tool_info. It also registers the tool with the "toplevel" dialog factory.

tool_info :

a GimpToolInfo

shell :

the parent display shell this dialog

desc :

a string to use in the dialog header or NULL to use the help field from GimpToolInfo

... :

a NULL-terminated valist of button parameters as described in gtk_dialog_new_with_buttons().

Returns :

a new GimpViewableDialog

gimp_tool_dialog_set_shell ()

void                gimp_tool_dialog_set_shell          (GimpToolDialog *tool_dialog,
                                                         GimpDisplayShell *shell);