Supports saving/restoring book control selection.
This class handles the following wxPython widgets:
Toolbook
;
Choicebook
;
Listbook
;
Treebook
(except for opened tree branches, see TreebookHandler
for this);
Notebook
;
lib.agw.aui.auibook.AuiNotebook
;
lib.agw.flatnotebook.FlatNotebook
;
lib.agw.labelbook.LabelBook
;
lib.agw.labelbook.FlatImageBook
.
wx.lib.agw.persist.persist_handlers.TreebookHandler
wx.lib.agw.persist.persist_handlers.AbstractHandler
Default class constructor. |
|
Returns a short and meaningful string description of your widget. |
|
Restores the widget’s settings by calling |
|
Saves the widget’s settings by calling |
BookHandler
(AbstractHandler)¶Supports saving/restoring book control selection.
This class handles the following wxPython widgets:
Toolbook
;
Choicebook
;
Listbook
;
Treebook
(except for opened tree branches, see TreebookHandler
for this);
Notebook
;
lib.agw.aui.auibook.AuiNotebook
;
lib.agw.flatnotebook.FlatNotebook
;
lib.agw.labelbook.LabelBook
;
lib.agw.labelbook.FlatImageBook
.
__init__
(self, pObject)¶Default class constructor.
pObject – a PersistentObject
containing information about the
persistent widget.
GetKind
(self)¶Returns a short and meaningful string description of your widget.
Note
This method must be overridden in derived classes.
Restore
(self)¶Restores the widget’s settings by calling PersistentObject.RestoreValue()
, which in
turns calls PersistenceManager.RestoreValue()
.
Note
This method must be overridden in derived classes.
Save
(self)¶Saves the widget’s settings by calling PersistentObject.SaveValue()
, which in
turns calls PersistenceManager.SaveValue()
.
Note
This method must be overridden in derived classes.