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