GeditWindowActivatable

GeditWindowActivatable — Interface for activatable extensions on windows

Synopsis

                    GeditWindowActivatable;
void                gedit_window_activatable_activate   (GeditWindowActivatable *activatable);
void                gedit_window_activatable_deactivate (GeditWindowActivatable *activatable);
void                gedit_window_activatable_update_state
                                                        (GeditWindowActivatable *activatable);

Object Hierarchy

  GInterface
   +----GeditWindowActivatable

Prerequisites

GeditWindowActivatable requires GObject.

Properties

  "window"                   GeditWindow*          : Read / Write / Construct Only

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);

Activates the extension on the window property.

activatable :

A GeditWindowActivatable.

gedit_window_activatable_deactivate ()

void                gedit_window_activatable_deactivate (GeditWindowActivatable *activatable);

Deactivates the extension on the window property.

activatable :

A GeditWindowActivatable.

gedit_window_activatable_update_state ()

void                gedit_window_activatable_update_state
                                                        (GeditWindowActivatable *activatable);

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

activatable :

A GeditWindowActivatable.

Property Details

The "window" property

  "window"                   GeditWindow*          : Read / Write / Construct Only

The window property contains the gedit window for this GeditWindowActivatable instance.

See Also

PeasExtensionSet