### Interface

# Ide PreferencesAddin

#### Description

    interface Ide.PreferencesAddin : GObject.Object

No description available.

#### Prerequisite

In order to implement PreferencesAddin, your type must inherit from `GObject`.

#### Instance methods

###### ide_preferences_addin_load

This interface method is called when a preferences addin is initialized. It could be initialized from multiple preferences implementations, so consumers should use the `DzlPreferences` interface to add their preferences controls to the container.

Available since: 3.32

###### ide_preferences_addin_unload

This interface method is called when the preferences addin should remove all controls added to `preferences`. This could happen during desctruction of `preferences`, or when the plugin is unloaded.

Available since: 3.32

#### Interface structure

    struct IdePreferencesAddinInterface {
      GTypeInterface parent_interface;
      void (* load) (
        IdePreferencesAddin* self,
        DzlPreferences* preferences
      );
      void (* unload) (
        IdePreferencesAddin* self,
        DzlPreferences* preferences
      );

    }

###### Interface members

`parent_interface` |
    GTypeInterface
| No description available.
`load` |
    void (* load) (
        IdePreferencesAddin* self,
        DzlPreferences* preferences
      )
| No description available.
`unload` |
    void (* unload) (
        IdePreferencesAddin* self,
        DzlPreferences* preferences
      )
| No description available.

#### Virtual methods

###### Ide.PreferencesAddin.load

This interface method is called when a preferences addin is initialized. It could be initialized from multiple preferences implementations, so consumers should use the `DzlPreferences` interface to add their preferences controls to the container.

###### Ide.PreferencesAddin.unload

This interface method is called when the preferences addin should remove all controls added to `preferences`. This could happen during desctruction of `preferences`, or when the plugin is unloaded.