Method

IdeWorkbenchAddinsave_session

Declaration

void
ide_workbench_addin_save_session (
  IdeWorkbenchAddin* self,
  IdeSession* session
)

Description

Saves session state from self into session.

This function is used for workbench addins that want to save state between application runs of Builder. You can add items to the session and then restore them when ide_workbench_addin_restore_session() is called as part of the project loading in a future Builder application instance.

Parameters

session

Type: IdeSession

An IdeSession.

The data is owned by the caller of the method.