All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

interface-preserve-state Generic Function

Summary

Called before an interface is destroyed during session saving.

Package

capi

Signature

interface-preserve-state interface

Arguments
interface
Description

The generic function interface-preserve-state is called by hcl:save-current-session just before it destroys interface. It is called in the process that runs interface. You can specialize this for your own interface classes. Your methods should not interact with the user or other external sources, and should not interact with other processes, because it is called after hcl:save-current-session already started to destroy interfaces.

The return value is not used.

The default method does nothing.

See also

interface-preserving-state-p
7.7.6 Preserving information when saving an IDE session


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42