A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.FindReplaceData.html below:

wx.FindReplaceData — wxPython Phoenix 4.2.4a1 documentation

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¶

Inheritance diagram for class

FindReplaceData

:

Methods Summary¶

__init__

Constructor initializes the flags to default value (0).

GetFindString

Get the string to find.

GetFlags

Get the combination of FindReplaceFlags values.

GetReplaceString

Get the replacement string.

SetFindString

Set the string to find (used as initial value by the dialog).

SetFlags

Set the flags to use to initialize the controls of the dialog.

SetReplaceString

Set the replacement string (used as initial value by the dialog).

Properties Summary¶ 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 and SetFindString


Flags¶

See GetFlags and SetFlags


ReplaceString¶

See GetReplaceString and SetReplaceString


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4