Class

GimpLoadProcedure

Description [src]

class Gimp.LoadProcedure : Gimp.FileProcedure {
  parent_instance: GimpFileProcedure
}

A GimpProcedure subclass that makes it easier to write file load procedures.

It automatically adds the standard

( GimpRunMode, GFile )

arguments and the standard

( GimpImage )

return value of a load procedure. It is possible to add additional arguments.

When invoked via gimp_procedure_run(), it unpacks these standard arguments and calls run_func which is a GimpRunImageFunc. The “args” GimpValueArray of GimpRunImageFunc only contains additionally added arguments.

Hierarchy

hierarchy this GimpLoadProcedure ancestor_0 GimpFileProcedure ancestor_0--this ancestor_1 GimpProcedure ancestor_1--ancestor_0 ancestor_2 GObject ancestor_2--ancestor_1

Constructors

gimp_load_procedure_new

Creates a new load procedure named name which will call run_func when invoked.

since: 3.0

Instance methods

gimp_load_procedure_get_handles_raw

Returns the procedure’s ‘handles raw’ flag as set with gimp_load_procedure_set_handles_raw().

since: 3.0

gimp_load_procedure_get_thumbnail_loader

Returns the procedure’s thumbnail loader procedure as set with gimp_load_procedure_set_thumbnail_loader().

since: 3.0

gimp_load_procedure_set_handles_raw

Registers a load procedure as capable of handling raw digital camera loads.

since: 3.0

gimp_load_procedure_set_thumbnail_loader

Associates a thumbnail loader with a file load procedure.

since: 3.0

Methods inherited from GimpFileProcedure (14)
gimp_file_procedure_get_extensions

Returns the procedure’s extensions as set with gimp_file_procedure_set_extensions().

since: 3.0

gimp_file_procedure_get_format_name

Returns the procedure’s format name, as set with gimp_file_procedure_set_format_name().

since: 3.0

gimp_file_procedure_get_handles_remote

Returns the procedure’s ‘handles remote’ flags as set with gimp_file_procedure_set_handles_remote().

since: 3.0

gimp_file_procedure_get_magics

Returns the procedure’s magics as set with gimp_file_procedure_set_magics().

since: 3.0

gimp_file_procedure_get_mime_types

Returns the procedure’s mime-type as set with gimp_file_procedure_set_mime_types().

since: 3.0

gimp_file_procedure_get_prefixes

Returns the procedure’s prefixes as set with gimp_file_procedure_set_prefixes().

since: 3.0

gimp_file_procedure_get_priority

Returns the procedure’s priority as set with gimp_file_procedure_set_priority().

since: 3.0

gimp_file_procedure_set_extensions

Registers the given list of extensions as something this procedure can handle.

since: 3.0

gimp_file_procedure_set_format_name

Associates a format name with a file handler procedure.

since: 3.0

gimp_file_procedure_set_handles_remote

Registers a file procedure as capable of handling arbitrary remote URIs via GIO.

since: 3.0

gimp_file_procedure_set_magics

Registers the list of magic file information this procedure can handle.

since: 3.0

gimp_file_procedure_set_mime_types

Associates MIME types with a file handler procedure.

since: 3.0

gimp_file_procedure_set_prefixes

It should almost never be necessary to register prefixes with file procedures, because most sorts of URIs should be handled by GIO.

since: 3.0

gimp_file_procedure_set_priority

Sets the priority of a file handler procedure.

since: 3.0

Methods inherited from GimpProcedure (145)

Please see GimpProcedure for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from GimpProcedure (3)
Gimp.Procedure:name
No description available.

Gimp.Procedure:plug-in
No description available.

Gimp.Procedure:procedure-type
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GimpLoadProcedureClass {
  GimpFileProcedureClass parent_class;
  void (* _gimp_reserved0) (
void
  );
  void (* _gimp_reserved1) (
void
  );
  void (* _gimp_reserved2) (
void
  );
  void (* _gimp_reserved3) (
void
  );
  void (* _gimp_reserved4) (
void
  );
  void (* _gimp_reserved5) (
void
  );
  void (* _gimp_reserved6) (
void
  );
  void (* _gimp_reserved7) (
void
  );
  void (* _gimp_reserved8) (
void
  );
  void (* _gimp_reserved9) (
void
  );
  
}
No description available.
Class members
parent_class: GimpFileProcedureClass
No description available.
_gimp_reserved0: void (* _gimp_reserved0) ( void )
No description available.
_gimp_reserved1: void (* _gimp_reserved1) ( void )
No description available.
_gimp_reserved2: void (* _gimp_reserved2) ( void )
No description available.
_gimp_reserved3: void (* _gimp_reserved3) ( void )
No description available.
_gimp_reserved4: void (* _gimp_reserved4) ( void )
No description available.
_gimp_reserved5: void (* _gimp_reserved5) ( void )
No description available.
_gimp_reserved6: void (* _gimp_reserved6) ( void )
No description available.
_gimp_reserved7: void (* _gimp_reserved7) ( void )
No description available.
_gimp_reserved8: void (* _gimp_reserved8) ( void )
No description available.
_gimp_reserved9: void (* _gimp_reserved9) ( void )
No description available.