Top | ![]() |
![]() |
![]() |
![]() |
void ide_editor_view_addin_load (IdeEditorViewAddin *self
,IdeEditorView *view
);
void ide_editor_view_addin_unload (IdeEditorViewAddin *self
,IdeEditorView *view
);
void ide_editor_view_addin_stack_set (IdeEditorViewAddin *self
,IdeLayoutStack *stack
);
void ide_editor_view_addin_language_changed (IdeEditorViewAddin *self
,const gchar *language_id
);
IdeEditorViewAddin * ide_editor_view_addin_find_by_module_name (IdeEditorView *view
,const gchar *module_name
);
This function will locate the IdeEditorViewAddin that was registered
by the addin named module_name
(which should match the module_name
provided in the .plugin file).
If no module was found or that module does not implement the
IdeEditorViewAddinInterface, then NULL
is returned.
Since: 3.26
struct IdeEditorViewAddinInterface { GTypeInterface parent; void (*load) (IdeEditorViewAddin *self, IdeEditorView *view); void (*unload) (IdeEditorViewAddin *self, IdeEditorView *view); void (*language_changed) (IdeEditorViewAddin *self, const gchar *language_id); void (*stack_set) (IdeEditorViewAddin *self, IdeLayoutStack *stack); };