GeditWindowActivatable

GeditWindowActivatable — Interface for extensions activatable on windows

Synopsis

                    GeditWindowActivatable;
void                gedit_window_activatable_activate   (GeditWindowActivatable *activatable,
                                                         GeditWindow *window);
void                gedit_window_activatable_deactivate (GeditWindowActivatable *activatable,
                                                         GeditWindow *window);
void                gedit_window_activatable_update_state
                                                        (GeditWindowActivatable *activatable,
                                                         GeditWindow *window);

Object Hierarchy

  GInterface
   +----GeditWindowActivatable

Prerequisites

GeditWindowActivatable requires GObject.

Description

GeditWindowActivatable is an interface which should be implemented by extensions that should be activated on a gedit main window.

Details

GeditWindowActivatable

typedef struct _GeditWindowActivatable GeditWindowActivatable;

gedit_window_activatable_activate ()

void                gedit_window_activatable_activate   (GeditWindowActivatable *activatable,
                                                         GeditWindow *window);

Activates the extension on the given window.

activatable :

A GeditWindowActivatable.

window :

The GeditWindow on which the plugin should be activated.

gedit_window_activatable_deactivate ()

void                gedit_window_activatable_deactivate (GeditWindowActivatable *activatable,
                                                         GeditWindow *window);

Deactivates the plugin on the given window.

activatable :

A GeditWindowActivatable.

window :

A GeditWindow.

gedit_window_activatable_update_state ()

void                gedit_window_activatable_update_state
                                                        (GeditWindowActivatable *activatable,
                                                         GeditWindow *window);

Triggers an update of the plugin insternal state to take into account state changes in the window state, due to a plugin or an user action.

activatable :

A GeditWindowActivatable.

window :

A GeditWindow.

See Also

PeasExtensionSet