Next Prev Up Top Contents Index

top-level-interface-geometry-key

Generic Function
Signature

top-level-interface-geometry-key interface
=> key , product-name

Arguments

interface

A top level interface.

Values

key

A symbol.

product-name

A symbol, a string or a list of strings.

Description

Returns as multiple values a key and a product name, which determine where the geometry of interface is saved. The saved geometry is used when displaying a future instance.

The supplied method on top-level-interface-geometry-key returns the class name of interface as the key , and nil as the product-name . You can define methods for your interfaces and products.

key must be a symbol.

product-name is used to derive the product-registry-path .

product-name can be a symbol which was previously defined to have a registry path by (setf sys:product-registry-path) .

product-name can alternatively be a string, which is taken directly as product-registry-path .

product-name can alternatively be a list of strings, denoting multiple path components. These are concatenated together with the appropriate separator for the platform to give product-registry-path .

The geometry of interface is saved at the path which is constructed by concatenating (with appropriate separators) these values:

user-path product-registry-path "Environment" (symbol-package key ) (symbol-name key )

where user-path is the registry branch HKEY_CURRENT_USER on MS Windows and the home directory on Unix/Linux and MacOS.

Note: for your interface classes for which you want the geometry to be saved, define a method on top-level-interface-save-geometry-p.

See also

top-level-interface-save-geometry-p


LispWorks CAPI Reference Manual - 13 Mar 2003

Next Prev Up Top Contents Index