Supports saving/restoring a FindReplaceDialog
data (search string, replace string
and flags).
This class handles the following wxPython widgets:
FindReplaceDialog
.
Todo
Find a way to properly save and restore dialog data (wx.ColourDialog
, wx.FontDialog
etc…).
wx.lib.agw.persist.persist_handlers.TLWHandler
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 |
FindReplaceHandler
(TLWHandler)¶Supports saving/restoring a FindReplaceDialog
data (search string, replace string
and flags).
This class handles the following wxPython widgets:
FindReplaceDialog
.
Todo
Find a way to properly save and restore dialog data (wx.ColourDialog
, wx.FontDialog
etc…).
__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.