Interface
IdeWorkspaceAddin
Prerequisite
In order to implement WorkspaceAddin, your type must inherit fromGObject
.
Instance methods
ide_workspace_addin_page_changed
Called when the current page has changed based on focus within the workspace.
ide_workspace_addin_ref_action_group
Gets the action group for the workspace addin. This is automatically registered with an action prefix like “workspace.module-name” where “module-name” is the value of “Module=” in the plugin’s manifest.
Interface structure
struct IdeWorkspaceAddinInterface {
GTypeInterface parent_iface;
void (* load) (
IdeWorkspaceAddin* self,
IdeWorkspace* workspace
);
void (* unload) (
IdeWorkspaceAddin* self,
IdeWorkspace* workspace
);
void (* page_changed) (
IdeWorkspaceAddin* self,
IdePage* page
);
GActionGroup* (* ref_action_group) (
IdeWorkspaceAddin* self
);
void (* save_session) (
IdeWorkspaceAddin* self,
IdeSession* session
);
void (* restore_session) (
IdeWorkspaceAddin* self,
IdeSession* session
);
void (* restore_session_item) (
IdeWorkspaceAddin* self,
IdeSession* session,
IdeSessionItem* item
);
}
No description available.
Interface members
parent_iface |
|
No description available. | |
load |
|
No description available. | |
unload |
|
No description available. | |
page_changed |
|
No description available. | |
ref_action_group |
|
No description available. | |
save_session |
|
No description available. | |
restore_session |
|
No description available. | |
restore_session_item |
|
No description available. |
Virtual methods
Ide.WorkspaceAddin.page_changed
Called when the current page has changed based on focus within the workspace.
Ide.WorkspaceAddin.ref_action_group
Gets the action group for the workspace addin. This is automatically registered with an action prefix like “workspace.module-name” where “module-name” is the value of “Module=” in the plugin’s manifest.