wx.lib.agw.persist.persist_handlers.TreeListCtrlHandler¶
Supports saving/restoring a lib.agw.hypertreelist.HyperTreeList expansion state,
selections, column widths and checked items state (meaningful only for HyperTreeList).
This class handles the following wxPython widgets:
lib.agw.hypertreelist.HyperTreeList.
Class Hierarchy¶
Known Superclasses¶
wx.lib.agw.persist.persist_handlers.TreeCtrlHandler
Methods Summary¶
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 |
Class API¶
- class TreeListCtrlHandler(TreeCtrlHandler)¶
Supports saving/restoring a
lib.agw.hypertreelist.HyperTreeListexpansion state, selections, column widths and checked items state (meaningful only forHyperTreeList).This class handles the following wxPython widgets:
lib.agw.hypertreelist.HyperTreeList.
Methods¶
- __init__(self, pObject)¶
Default class constructor.
- Parameters:
pObject – a
PersistentObjectcontaining 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 callsPersistenceManager.RestoreValue().Note
This method must be overridden in derived classes.
- Save(self)¶
Saves the widget’s settings by calling
PersistentObject.SaveValue(), which in turns callsPersistenceManager.SaveValue().Note
This method must be overridden in derived classes.