Interface

IdeWorkspaceAddin

Description

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

Prerequisite

In order to implement WorkspaceAddin, your type must inherit fromGObject.

Instance methods

ide_workspace_addin_load

Lods the IdeWorkspaceAddin.

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.

ide_workspace_addin_restore_session
No description available.

ide_workspace_addin_save_session
No description available.

ide_workspace_addin_unload

Unloads the IdeWorkspaceAddin.

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
GTypeInterface
 No description available.
load
void (* load) (
    IdeWorkspaceAddin* self,
    IdeWorkspace* workspace
  )
 No description available.
unload
void (* unload) (
    IdeWorkspaceAddin* self,
    IdeWorkspace* workspace
  )
 No description available.
page_changed
void (* page_changed) (
    IdeWorkspaceAddin* self,
    IdePage* page
  )
 No description available.
ref_action_group
GActionGroup* (* ref_action_group) (
    IdeWorkspaceAddin* self
  )
 No description available.
save_session
void (* save_session) (
    IdeWorkspaceAddin* self,
    IdeSession* session
  )
 No description available.
restore_session
void (* restore_session) (
    IdeWorkspaceAddin* self,
    IdeSession* session
  )
 No description available.
restore_session_item
void (* restore_session_item) (
    IdeWorkspaceAddin* self,
    IdeSession* session,
    IdeSessionItem* item
  )
 No description available.

Virtual methods

Ide.WorkspaceAddin.load

Lods the IdeWorkspaceAddin.

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.

Ide.WorkspaceAddin.restore_session
No description available.

Ide.WorkspaceAddin.restore_session_item
No description available.

Ide.WorkspaceAddin.save_session
No description available.

Ide.WorkspaceAddin.unload

Unloads the IdeWorkspaceAddin.