Gimp.ModuleDB¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gimp.ModuleDB(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Keeps a list of
Gimp.Module
's found in a given searchpath.- classmethod new(verbose)¶
- Parameters:
- Returns:
The new
Gimp.ModuleDB
instance.- Return type:
Creates a new
Gimp.ModuleDB
instance. The verbose parameter will be passed to the createdGimp.Module
instances usingGimp.Module.new
().
- get_load_inhibit()¶
- Returns:
the self's load_inhibit string.
- Return type:
Return the
GLib.SEARCHPATH_SEPARATOR
delimited list of module filenames which are excluded from auto-loading.
- get_verbose()¶
- Returns:
the ‘verbose’ setting.
- Return type:
Returns the ‘verbose’ setting of self.
New in version 3.0.
- load(module_path)¶
- Parameters:
module_path (
str
) – AGLib.SEARCHPATH_SEPARATOR
delimited list of directories to load modules from.
Scans the directories contained in module_path and creates a
Gimp.Module
instance for every loadable module contained in the directories.
- refresh(module_path)¶
- Parameters:
module_path (
str
) – AGLib.SEARCHPATH_SEPARATOR
delimited list of directories to load modules from.
Does the same as
Gimp.ModuleDB.load
(), plus removes allGimp.Module
instances whose modules have been deleted from disk.Note that the
Gimp.Module
's will just be removed from the internal list and not freed as this is not possible withGObject.TypeModule
instances which actually implement types.
- set_load_inhibit(load_inhibit)¶
- Parameters:
load_inhibit (
str
) – AGLib.SEARCHPATH_SEPARATOR
delimited list of module filenames to exclude from auto-loading.
Sets the load_inhibit flag for all
Gimp.Module
's which are kept by self (using gimp_module_set_load_inhibit()).