Gimp.Module¶
- Subclasses:
None
Methods¶
- Inherited:
GObject.TypeModule (7), GObject.Object (37), GObject.TypePlugin (4)
- Structs:
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
auto-load |
||
r |
on-disk |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gimp.Module(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Gimp.Module
is a generic mechanism to dynamically load modules into GIMP. It is aGObject.TypeModule
subclass, implementing module loading usingGModule.Module
.Gimp.Module
does not know which functionality is implemented by the modules, it just provides a framework to get arbitraryGObject.GType
implementations loaded from disk.- classmethod error_quark()¶
- Returns:
the #GQuark that defines the GIMP module error domain.
- Return type:
This function is never called directly. Use GIMP_MODULE_ERROR() instead.
New in version 2.8.
- classmethod new(file, auto_load, verbose)¶
- Parameters:
- Returns:
The new
Gimp.Module
object.- Return type:
Creates a new
Gimp.Module
instance.
- classmethod query(module)¶
- Parameters:
module (
GObject.TypeModule
) –- Return type:
- classmethod register(module)¶
- Parameters:
module (
GObject.TypeModule
) –- Return type:
- get_auto_load()¶
- Returns:
The self's ‘auto_load’ property.
- Return type:
Returns whether this self in automatically loaded at startup.
New in version 3.0.
- get_info()¶
- Returns:
The self's
Gimp.ModuleInfo
as provided by the actual module, orNone
.- Return type:
New in version 3.0.
- get_state()¶
- Returns:
The self's state.
- Return type:
New in version 3.0.
- query_module()¶
-
Queries the module without actually registering any of the types it may implement. After successful query,
Gimp.Module.get_info
() can be used to get further about the module.
- set_auto_load(auto_load)¶
-
Sets the auto_load property of the module
New in version 3.0.
- do_modified() virtual¶
Property Details¶
- Gimp.Module.props.auto_load¶
-
auto-load