.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.FindReplaceDialog: ========================================================================================================================================== |phoenix_title| **wx.FindReplaceDialog** ========================================================================================================================================== :ref:`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 :ref:`Dialogs Sample ` sample for an example of using it. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class FindReplaceDialog:
| |appearance| Control Appearance =============================== | .. figure:: _static/images/widgets/fullsize/wxmsw/wx.findreplacedialog.png :alt: wxMSW :figclass: floatleft **wxMSW** .. figure:: _static/images/widgets/fullsize/wxmac/../no_appearance.png :alt: wxMAC :figclass: floatright **wxMAC** .. figure:: _static/images/widgets/fullsize/wxgtk/wx.findreplacedialog.png :alt: wxGTK :figclass: floatcenter **wxGTK** | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.FindReplaceDialog.__init__` :meth:`~wx.FindReplaceDialog.Create` Creates the dialog; use :meth:`wx.Window.Show` to show it on screen. :meth:`~wx.FindReplaceDialog.GetClassDefaultAttributes` :meth:`~wx.FindReplaceDialog.GetData` Get the :ref:`wx.FindReplaceData` object used by this dialog. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~wx.FindReplaceDialog.Data` See :meth:`~wx.FindReplaceDialog.GetData` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.FindReplaceDialog(Dialog) **Possible constructors**:: FindReplaceDialog() FindReplaceDialog(parent, data, title="", style=0) 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). .. method:: __init__(self, *args, **kw) |overload| Overloaded Implementations: :html:`

` **__init__** `(self)` :html:`

` **__init__** `(self, parent, data, title="", style=0)` After using default constructor :meth:`Create` must be called. The `parent` and `data` parameters must be not ``None``. :param `parent`: :type `parent`: wx.Window :param `data`: :type `data`: wx.FindReplaceData :param `title`: :type `title`: string :param `style`: :type `style`: int :html:`

` .. method:: Create(self, parent, data, title="", style=0) Creates the dialog; use :meth:`wx.Window.Show` to show it on screen. The `parent` and `data` parameters must be not ``None``. :param `parent`: :type `parent`: wx.Window :param `data`: :type `data`: wx.FindReplaceData :param `title`: :type `title`: string :param `style`: :type `style`: int :rtype: `bool` .. staticmethod:: GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) :param `variant`: :type `variant`: wx.WindowVariant :rtype: :ref:`wx.VisualAttributes` .. method:: GetData(self) Get the :ref:`wx.FindReplaceData` object used by this dialog. :rtype: :ref:`wx.FindReplaceData` .. attribute:: Data See :meth:`~wx.FindReplaceDialog.GetData`