### Class

# Gimp ModuleDB

#### Description [src]

    class Gimp.ModuleDB : GObject.Object {
      parent_instance: GObject,
      priv: GimpModuleDBPrivate*
    }

Keeps a list of `GimpModule`‘s found in a given searchpath.

#### Ancestors

- GObject

#### Constructors

###### gimp_module_db_new

Creates a new `GimpModuleDB` instance. The `verbose` parameter will be passed to the created `GimpModule` instances using gimp_module_new().

#### Instance methods

###### gimp_module_db_get_load_inhibit

Return the #G_SEARCHPATH_SEPARATOR delimited list of module filenames which are excluded from auto-loading.

###### gimp_module_db_get_modules

Returns a `GList` of the modules kept by `db`. The list must not be modified or freed.

Available since: 3.0

###### gimp_module_db_get_verbose

Returns the ‘verbose’ setting of `db`.

Available since: 3.0

###### gimp_module_db_load

Scans the directories contained in `module_path` and creates a `GimpModule` instance for every loadable module contained in the directories.

###### gimp_module_db_refresh

Does the same as gimp_module_db_load(), plus removes all `GimpModule` instances whose modules have been deleted from disk.

###### gimp_module_db_set_load_inhibit

Sets the `load_inhibit` flag for all `GimpModule`‘s which are kept by `db` (using gimp_module_set_load_inhibit()).

###### gimp_module_db_set_verbose

Sets the ‘verbose’ setting of `db`.

Available since: 3.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

###### Gimp.ModuleDB::add

No description available.

###### Gimp.ModuleDB::module-modified

No description available.

###### Gimp.ModuleDB::remove

No description available.

##### Signals inherited from GObject (1)

###### GObject.Object::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 GimpModuleDBClass {
      GObjectClass parent_class;
      void (* add) (
        GimpModuleDB* db,
        GimpModule* module
      );
      void (* remove) (
        GimpModuleDB* db,
        GimpModule* module
      );
      void (* module_modified) (
        GimpModuleDB* db,
        GimpModule* module
      );
      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
      );

    }

###### Class members

`parent_class`

    GObjectClass

| No description available.

`add`

    void (* add) (
        GimpModuleDB* db,
        GimpModule* module
      )

| No description available.

`remove`

    void (* remove) (
        GimpModuleDB* db,
        GimpModule* module
      )

| No description available.

`module_modified`

    void (* module_modified) (
        GimpModuleDB* db,
        GimpModule* module
      )

| 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.

#### Virtual methods

###### Gimp.ModuleDBClass.add

No description available.

###### Gimp.ModuleDBClass.module_modified

No description available.

###### Gimp.ModuleDBClass.remove

No description available.