Name: | WinState |
Version: | 1.0 |
ID: | ID_WINSTATE |
Status: | Unspecified |
Category: | Command |
Date: | April 2001 |
Author: | Rocklyte Systems |
Copyright: | Rocklyte Systems (c) 2000-2001. All rights reserved. |
The WinState class has been specially developed to save the window states of X11 programs at shutdown, storing them until they can be restarted at a later time. Its usefulness only extends as far as X11 based Linux systems, and other Athene systems do not benefit from its use.
To store the current state of X11 programs, use this DML code:
<winstate save/>
To restore the X11 programs, use this DML code:
<winstate restore/>
It is recommended that the WinState class is only used during shutdown and startup operations. The benefit of using it in other circumstances is questionable.
The WinState class supports the following actions:
Activate Saves window states. ClosingTag If the object is non-static, this action will save the window states and then the object will self-destruct.
The WinState object consists of the following public fields:
Location Sets the location for the WinState configuration file. Restore Set to TRUE if the WinState object should restore the X11 programs. Save Set to TRUE if the object should save the configurations of running X11 programs. Static Set to TRUE to make the object static.
Field: | Restore | |
Short: | Set to TRUE if the WinState object should restore the X11 programs. | |
Type: | BOOLEAN | |
Status: | Read/Write | |
|
Field: | Save | |
Short: | Set to TRUE if the object should save the configurations of running X11 programs. | |
Type: | BOOLEAN | |
Status: | Read/Write | |
|
Field: | Static | |
Short: | Set to TRUE to make the object static. | |
Type: | BOOLEAN | |
Status: | Read/Init | |
|