Interface
PeasActivatable
since: 1.0
Description [src]
interface Peas.Activatable : GObject.Object
Interface for activatable plugins.
Available since: 1.0
Prerequisite
In order to implement Activatable, your type must inherit fromGObject
.
Instance methods
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.
since: 1.0
Properties
Peas.Activatable:object
The object property contains the targetted object for this PeasActivatable
instance.
since: 1.0
Interface structure
struct PeasActivatableInterface {
GTypeInterface g_iface;
void (* activate) (
PeasActivatable* activatable
);
void (* deactivate) (
PeasActivatable* activatable
);
void (* update_state) (
PeasActivatable* activatable
);
}
Provides an interface for activatable plugins.
Interface members
g_iface |
|
The parent interface. |
|
activate |
|
Activates the plugin. |
|
deactivate |
|
Deactivates the plugin. |
|
update_state |
|
Updates the plugin’s internal state to take account of a change in the target object’s state. |
Virtual methods
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.
since: 1.0