Handoff
PBMessageHandoffSave
Structure:
Fields
[in] store (referenced PBValueStore): A value store into which elements can save state information. The data will be made available during restore.
PBMessageHandoffRestore
Structure:
Fields
[in] store (referenced PBValueStore): A value store into which elements can load state information.
PBWindowSetRestoreString
Function: Set a run command that can be used to recreate the window after restarting the workspace.
Syntax (C/C++)
void PBWindowSetRestoreString(PBWindowRef window,
const ConstStr *_Nullable runArguments, size_t runArgumentsCount);
Syntax (Python)
WindowSetRestoreString(window, runArguments)
Parameters and Return Values
[in] window (referenced PBWindow): The window to be recreated.
[in] runArguments (referenced array of referenced string): The run string that the system should pass to PBWorkspaceRunSplit.
Discussion
This function is called automatically if the window is registered as a file editor with PBWindowUseAsFileEditor.