Base class for persistent windows, uses the window name as persistent name by default and automatically reacts to the window destruction.
Note
This is an abstract class. If you wish to add another (custom) handler for your widgets, you should derive from AbstractHandler and override the Save, Restore and GetKind methods.
__init__ | Default class constructor. |
GetKind | Returns a short and meaningful string description of your widget. |
Restore | Restores the widget’s settings by calling PersistentObject.RestoreValue(), which in |
Save | Saves the widget’s settings by calling PersistentObject.SaveValue(), which in |
Base class for persistent windows, uses the window name as persistent name by default and automatically reacts to the window destruction.
Note
This is an abstract class. If you wish to add another (custom) handler for your widgets, you should derive from AbstractHandler and override the AbstractHandler.Save(), AbstractHandler.Restore() and AbstractHandler.GetKind() methods.
Default class constructor.
Parameters: | pObject – a PersistentObject containing information about the persistent widget. |
---|
Returns a short and meaningful string description of your widget.
Note
This method must be overridden in derived classes.
Restores the widget’s settings by calling PersistentObject.RestoreValue(), which in turns calls PersistenceManager.RestoreValue().
Note
This method must be overridden in derived classes.
Saves the widget’s settings by calling PersistentObject.SaveValue(), which in turns calls PersistenceManager.SaveValue().
Note
This method must be overridden in derived classes.