| gedit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | ||||
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);
GeditWindowActivatable is an interface which should be implemented by extensions that should be activated on a gedit main window.
void gedit_window_activatable_activate (GeditWindowActivatable *activatable,GeditWindow *window);
Activates the extension on the given window.
|
A GeditWindowActivatable. |
|
The GeditWindow on which the plugin should be activated. |
void gedit_window_activatable_deactivate (GeditWindowActivatable *activatable,GeditWindow *window);
Deactivates the plugin on the given window.
|
A GeditWindowActivatable. |
|
A GeditWindow. |
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.
|
A GeditWindowActivatable. |
|
A GeditWindow. |