wx.lib.agw.persist.persist_handlers.TextEntryHandler¶
Supports saving/restoring a TextEntryDialog
string.
This class handles the following wxPython widgets:
TextEntryDialog
;PasswordEntryDialog
.
Class Hierarchy¶
Known Superclasses¶
wx.lib.agw.persist.persist_handlers.TLWHandler
, wx.lib.agw.persist.persist_handlers.TextCtrlHandler
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 TextEntryHandler(TLWHandler, TextCtrlHandler)¶
Supports saving/restoring a
TextEntryDialog
string.This class handles the following wxPython widgets:
TextEntryDialog
;PasswordEntryDialog
.
Methods¶
- __init__(self, pObject)¶
Default class constructor.
- Parameters:
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 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.