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.ModuleDBinstance.- Return type:
Creates a new
Gimp.ModuleDBinstance. The verbose parameter will be passed to the createdGimp.Moduleinstances usingGimp.Module.new().
- get_load_inhibit()¶
- Returns:
the self's load_inhibit string.
- Return type:
Return the
GLib.SEARCHPATH_SEPARATORdelimited 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_SEPARATORdelimited list of directories to load modules from.
Scans the directories contained in module_path and creates a
Gimp.Moduleinstance for every loadable module contained in the directories.
- refresh(module_path)¶
- Parameters:
module_path (
str) – AGLib.SEARCHPATH_SEPARATORdelimited list of directories to load modules from.
Does the same as
Gimp.ModuleDB.load(), plus removes allGimp.Moduleinstances 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.TypeModuleinstances which actually implement types.
- set_load_inhibit(load_inhibit)¶
- Parameters:
load_inhibit (
str) – AGLib.SEARCHPATH_SEPARATORdelimited 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()).