Interface

IdeEditorAddin

Description

interface Ide.EditorAddin : GObject.Object
No description available.

Prerequisite

In order to implement EditorAddin, your type must inherit from GObject.

Instance methods

ide_editor_addin_load

This method is called to load the addin.

Available since: 3.32

ide_editor_addin_page_set

This function is called when the current page has changed in the editor surface. This could happen when the user focus another page, either with the keyboard, mouse, touch, or by opening a new buffer.

Available since: 3.32

ide_editor_addin_unload

This method is called to unload the addin.

Available since: 3.32

Interface structure

struct IdeEditorAddinInterface {
  GTypeInterface parent_iface;
  void (* load) (
    IdeEditorAddin* self,
    IdeEditorSurface* surface
  );
  void (* unload) (
    IdeEditorAddin* self,
    IdeEditorSurface* surface
  );
  void (* page_set) (
    IdeEditorAddin* self,
    IdePage* page
  );
  
}
Interface members
parent_iface
GTypeInterface
 No description available.
load
void (* load) (
    IdeEditorAddin* self,
    IdeEditorSurface* surface
  )
 No description available.
unload
void (* unload) (
    IdeEditorAddin* self,
    IdeEditorSurface* surface
  )
 No description available.
page_set
void (* page_set) (
    IdeEditorAddin* self,
    IdePage* page
  )
 No description available.

Functions

ide_editor_addin_find_by_module_name

This function allows locating an IdeEditorAddin that is attached to the IdeEditorSurface by the addin module name. The module name should match the value specified in the “.plugin” module definition.

Virtual methods

Ide.EditorAddin.load

This method is called to load the addin.

Ide.EditorAddin.page_set

This function is called when the current page has changed in the editor surface. This could happen when the user focus another page, either with the keyboard, mouse, touch, or by opening a new buffer.

Ide.EditorAddin.unload

This method is called to unload the addin.