Phoenix Logo

phoenix_title 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 Class Hierarchy

Inheritance diagram for class FindReplaceData:


method_summary 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).

api Class API



class wx.FindReplaceData(Object)

Possible constructors:

FindReplaceData(flags=0)

FindReplaceData holds the data for FindReplaceDialog.


Methods



__init__(self, flags=0)

Constructor initializes the flags to default value (0).

Parameters:flags (wx.int) –


GetFindString(self)

Get the string to find.

Return type:string


GetFlags(self)

Get the combination of FindReplaceFlags values.

Return type:int


GetReplaceString(self)

Get the replacement string.

Return type:string


SetFindString(self, str)

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

Parameters:str (string) –


SetFlags(self, flags)

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

Parameters:flags (wx.int) –


SetReplaceString(self, str)

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

Parameters:str (string) –

Properties



FindString

See GetFindString and SetFindString



Flags

See GetFlags and SetFlags



ReplaceString

See GetReplaceString and SetReplaceString