wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
to initialize the dialog with the default values and will keep the
last values from the dialog when it is closed. It is also updated each
time a wx.FindDialogEvent
is generated so instead of using the
wx.FindDialogEvent
methods you can also directly query this object.
Note that all SetXXX() methods may only be called before showing the
dialog and calling them has no effect later.
Method Summary |
FindReplaceData |
__init__ (self,
flags)
Constuctor initializes the flags to default value (0). |
|
__del__(self)
|
|
__repr__(self)
|
String |
GetFindString (self)
Get the string to find. |
int |
GetFlags (self)
Get the combination of flag values. |
String |
GetReplaceString (self)
Get the replacement string. |
|
SetFindString (self,
str)
Set the string to find (used as initial value by the dialog). |
|
SetFlags (self,
flags)
Set the flags to use to initialize the controls of the dialog. |
|
SetReplaceString (self,
str)
Set the replacement string (used as initial value by the dialog). |