Interface
IdeEditorAddin
Prerequisite
In order to implement EditorAddin, your type must inherit from
GObject
.
Instance methods
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
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 |
|
No description available. | |
load |
|
No description available. | |
unload |
|
No description available. | |
page_set |
|
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.