Top level interfaces can be manipulated by the user, being iconifed or maximized. In addition, the program can hide a top level interface. The function
top-level-interface-display-state
returns a value that indicates the current state of the interface
interface
. The following values can be returned:
The window is visible and has its normal size.
The window is visible and has been maximized.
The window is visible as an icon.
The window is not visible.
These values can also be passed as the
:display-state
initarg when making a top level interface.
In addition, the function
(setf top-level-interface-display-state)
can be used to change the state of a top level interface. The value can be set to one of the above, or to
:restore
if the current state is
:iconic
or
:hidden
. When set to
:restore
, the state will become
:normal
or
:maximized
depending on how the interface was visible in the past.
top-level-interface-p
top-level-interface-geometry
set-top-level-interface-geometry
interface