Peas.Activatable
Description: Reference for Peas.Activatable

### Interface

# PeasActivatable

#### Description [src]

    interface Peas.Activatable : GObject.Object

Interface for activatable plugins.

#### Prerequisite

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

#### Instance methods

###### peas_activatable_activate

Activates the extension on the targetted object.

###### peas_activatable_deactivate

Deactivates the extension on the targetted object.

###### peas_activatable_update_state

Triggers an update of the extension internal state to take into account state changes in the targetted object, due to some event or user action.

#### Properties

###### Peas.Activatable:object

The object property contains the targetted object for this `PeasActivatable` instance.

#### Interface structure

    struct PeasActivatableInterface {
      GTypeInterface g_iface;
      void (* activate) (
        PeasActivatable* activatable
      );
      void (* deactivate) (
        PeasActivatable* activatable
      );
      void (* update_state) (
        PeasActivatable* activatable
      );

    }

###### Interface members

`g_iface` |
    GTypeInterface
| The parent interface.
`activate` |
    void (* activate) (
        PeasActivatable* activatable
      )
| No description available.
`deactivate` |
    void (* deactivate) (
        PeasActivatable* activatable
      )
| No description available.
`update_state` |
    void (* update_state) (
        PeasActivatable* activatable
      )
| No description available.

#### Virtual methods

###### Peas.Activatable.activate

Activates the extension on the targetted object.

###### Peas.Activatable.deactivate

Deactivates the extension on the targetted object.

###### Peas.Activatable.update_state

Triggers an update of the extension internal state to take into account state changes in the targetted object, due to some event or user action.