VectorLoadProcedureDialog


Description:

[ CCode ( cname = "gimp_vector_load_procedure_dialog_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public VectorLoadProcedureDialog (VectorLoadProcedure procedure, ProcedureConfig config, VectorLoadData? extracted_data, File? file)

Creates a new dialog for procedure using widgets generated from properties of config.

file must be the same vector file which was passed to the [callback@Gimp.RunVectorLoadFunc] implementation for your plug-in. If you pass any other file, then the preview may be wrong or not showing at all. And it is considered a programming error.

As for all Window, the returned ProcedureDialog object is owned by GTK and its initial reference is stored in an internal list of top-level windows. To delete the dialog, call destroy.

Parameters:

procedure

the associated VectorLoadProcedure.

config

a ProcedureConfig from which properties will be turned into widgets.

extracted_data

the extracted dimensions of the file to load.

file

a [iface@Gio.File] to load the preview from.

Returns:

the newly created VectorLoadProcedureDialog.