Top | ![]() |
![]() |
![]() |
![]() |
IdeFrameAddinIdeFrameAddin — addins created for every IdeFrame |
void | ide_frame_addin_load () |
void | ide_frame_addin_unload () |
void | ide_frame_addin_set_page () |
IdeFrameAddin * | ide_frame_addin_find_by_module_name () |
void ide_frame_addin_load (IdeFrameAddin *self
,IdeFrame *frame
);
This function should be implemented by IdeFrameAddin plugins in IdeFrameAddinInterface.
This virtual method is called when the plugin should load itself. A new instance of the plugin is created for every IdeFrame that is created in Builder.
Since: 3.32
void ide_frame_addin_unload (IdeFrameAddin *self
,IdeFrame *frame
);
This function should be implemented by IdeFrameAddin plugins in IdeFrameAddinInterface.
This virtual method is called when the plugin should unload itself.
It should revert anything performed via ide_frame_addin_load()
.
Since: 3.32
void ide_frame_addin_set_page (IdeFrameAddin *self
,IdePage *page
);
This virtual method is called whenever the active page changes in the IdePage. Plugins may want to alter what controls are displayed on the frame based on the current page.
Since: 3.32
IdeFrameAddin * ide_frame_addin_find_by_module_name (IdeFrame *frame
,const gchar *module_name
);
This function will locate the IdeFrameAddin that was registered by
the plugin named module_name
(which should match the "Module" field
provided in the .plugin file).
If no module was found or that module does not implement the
IdeFrameAddinInterface, then NULL
is returned.
Since: 3.32