GimpUi.export_dialog_new
function export_dialog_new(format_name: String, role: String, help_id: String): Gtk.Widget {
// Gjs wrapper for gimp_export_dialog_new()
}
Creates a new export dialog. All file plug-ins should use this dialog to get a consistent look on the export dialogs. Use GimpUi.export_dialog_get_content_area to get a vertical Gtk.Box to be filled with export options. The export dialog is a wrapped GimpUi.Dialog.
The dialog response when the user clicks on the Export button is %GTK_RESPONSE_OK, and when the Cancel button is clicked it is %GTK_RESPONSE_CANCEL.
Since 2.8
- format_name
The short name of the image_format (e.g. JPEG or PNG).
- role
The dialog's role which will be set with gtk_window_set_role().
- help_id
The GIMP help id.
- Returns
The new export dialog.