GeditWiewActivatable

GeditWiewActivatable — Interface for extensions activatable on views

Synopsis

void                gedit_view_activatable_activate     (GeditViewActivatable *activatable,
                                                         GeditView *view);
void                gedit_view_activatable_deactivate   (GeditViewActivatable *activatable,
                                                         GeditView *view);

Description

GeditViewActivatable is an interface which should be implemented by extensions that should be activated on a gedit view (or the document it contains).

Details

gedit_view_activatable_activate ()

void                gedit_view_activatable_activate     (GeditViewActivatable *activatable,
                                                         GeditView *view);

Activates the extension on the given view.

activatable :

A GeditViewActivatable.

view :

The GeditView on which the plugin should be activated.

gedit_view_activatable_deactivate ()

void                gedit_view_activatable_deactivate   (GeditViewActivatable *activatable,
                                                         GeditView *view);

Deactivates the plugin on the given view.

activatable :

A GeditViewActivatable.

view :

A GeditView.

See Also

PeasExtensionSet