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.
Constructor initializes the flags to default value (0). |
|
Get the string to find. |
|
Get the combination of |
|
Get the replacement string. |
|
Set the string to find (used as initial value by the dialog). |
|
Set the flags to use to initialize the controls of the dialog. |
|
Set the replacement string (used as initial value by the dialog). |
See |
|
See |
wx.
FindReplaceData
(Object)¶Possible constructors:
FindReplaceData(flags=0)
FindReplaceData holds the data for FindReplaceDialog.
__init__
(self, flags=0)¶Constructor initializes the flags to default value (0).
flags (wx.int) –
GetFindString
(self)¶Get the string to find.
string
GetFlags
(self)¶Get the combination of FindReplaceFlags
values.
int
GetReplaceString
(self)¶Get the replacement string.
string
SetFindString
(self, str)¶Set the string to find (used as initial value by the dialog).
str (string) –
SetFlags
(self, flags)¶Set the flags to use to initialize the controls of the dialog.
flags (wx.int) –
SetReplaceString
(self, str)¶Set the replacement string (used as initial value by the dialog).
str (string) –
FindString
¶See GetFindString
and SetFindString
ReplaceString
¶See GetReplaceString
and SetReplaceString