wx.FindReplaceDialog¶
wx.FindReplaceDialog is a standard modeless dialog which is used to allow the user to search for some text (and possibly replace it with something else).
The actual searching is supposed to be done in the owner window which is the parent of this dialog. Note that it means that unlike for the other standard dialogs this one must have a parent window. Also note that there is no way to use this dialog in a modal way; it is always, by design and implementation, modeless.
Please see the Dialogs Sample sample for an example of using it.
Class Hierarchy¶
Control Appearance¶
Methods Summary¶
Creates the dialog; use |
|
Get the wx.FindReplaceData object used by this dialog. |
Properties Summary¶
See |
Class API¶
- class wx.FindReplaceDialog(Dialog)¶
Possible constructors:
FindReplaceDialog() -> None FindReplaceDialog(parent, data, title='', style=0) -> None
FindReplaceDialog is a standard modeless dialog which is used to allow the user to search for some text (and possibly replace it with something else).
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self)
- Return type:
None
__init__ (self, parent, data, title=’’, style=0)
After using default constructor
Create
must be called.The parent and data parameters must be not
None
.- Parameters:
parent (wx.Window)
data (wx.FindReplaceData)
title (string)
style (int)
- Return type:
None
- Create(self, parent, data, title='', style=0)¶
Creates the dialog; use
wx.Window.Show
to show it on screen.The parent and data parameters must be not
None
.- Parameters:
parent (wx.Window)
data (wx.FindReplaceData)
title (string)
style (int)
- Return type:
bool
- static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶
- Parameters:
variant (WindowVariant)
- Return type:
- GetData(self)¶
Get the wx.FindReplaceData object used by this dialog.
- Return type:
Properties¶