Constructor
GimpUiDialognew
Declaration [src]
GtkWidget*
gimp_dialog_new (
const gchar* title,
const gchar* role,
GtkWidget* parent,
GtkDialogFlags flags,
GimpHelpFunc help_func,
const gchar* help_id,
...
)
Description [src]
Creates a new GimpDialog widget.
This function simply packs the action_area arguments passed in “…”
into a va_list variable and passes everything to gimp_dialog_new_valist().
For a description of the format of the va_list describing the
action_area buttons see gtk_dialog_new_with_buttons().
This method is not directly available to language bindings.
Parameters
title-
Type:
const gchar*The dialog’s title which will be set with gtk_window_set_title().
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. role-
Type:
const gchar*The dialog’s
rolewhich will be set with gtk_window_set_role().The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. parent-
Type:
GtkWidgetThe
parentwidget of this dialog.The argument can be NULL.The data is owned by the caller of the function. flags-
Type:
GtkDialogFlagsThe
flags(see theGtkDialogdocumentation). help_func-
Type:
GimpHelpFuncThe function which will be called if the user presses “F1”.
help_id-
Type:
const gchar*The help_id which will be passed to
help_func.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. ...-
Type:
A
NULL-terminatedva_listdestribing the action_area buttons.
Return value
Type: GtkWidget
A GimpDialog.
| The data is owned by the called function. |