GimpUi.VectorLoadProcedureDialog¶
- Subclasses:
None
Methods¶
- Inherited:
GimpUi.ProcedureDialog (22), GimpUi.Dialog (4), Gtk.Dialog (14), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
Virtual Methods¶
Properties¶
Style Properties¶
- Inherited:
Signals¶
Fields¶
Class Details¶
- class GimpUi.VectorLoadProcedureDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(procedure, config, extracted_data, file)¶
- Parameters:
procedure (
Gimp.VectorLoadProcedure) – the associatedGimp.VectorLoadProcedure.config (
Gimp.ProcedureConfig) – aGimp.ProcedureConfigfrom which properties will be turned into widgets.extracted_data (
Gimp.VectorLoadDataorNone) – the extracted dimensions of the file to load.file (
Gio.FileorNone) – a [iface`Gio`.File] to load the preview from.
- Returns:
the newly created
GimpUi.VectorLoadProcedureDialog.- Return type:
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
Gtk.Window, the returnedGimpUi.ProcedureDialogobject is owned by GTK and its initial reference is stored in an internal list of top-level windows. To delete the dialog, callGtk.Widget.destroy().