Package wx :: Class FindReplaceData
[frames | no frames]

Type FindReplaceData

object --+    
         |    
    Object --+
             |
            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.

Flags

wx.FR_DOWN Downward search/replace selected (otherwise, upwards)
wx.FR_WHOLEWORD Whole word search/replace selected
wx.FR_MATCHCASE Case sensitive search/replace selected (otherwise, case insensitive)

Method Summary
FindReplaceData __init__(self, flags)
Constuctor initializes the flags to default value (0).
  __del__(self)
  __repr__(self)
String GetFindString(self)
Get the string to find.
int GetFlags(self)
Get the combination of flag values.
String GetReplaceString(self)
Get the replacement string.
  SetFindString(self, str)
Set the string to find (used as initial value by the dialog).
  SetFlags(self, flags)
Set the flags to use to initialize the controls of the dialog.
  SetReplaceString(self, str)
Set the replacement string (used as initial value by the dialog).
    Inherited from Object
  Destroy(self)
Deletes the C++ object this Python object is a proxy for.
String GetClassName(self)
Returns the class name of the C++ class using wxRTTI.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Method Details

__init__(self, flags=0)
(Constructor)

Constuctor initializes the flags to default value (0).

Parameters:
flags
           (type=int)

Returns:
FindReplaceData
Overrides:
wx.Object.__init__

GetFindString(self)

Get the string to find.

Returns:
String

GetFlags(self)

Get the combination of flag values.

Returns:
int

GetReplaceString(self)

Get the replacement string.

Returns:
String

SetFindString(self, str)

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

Parameters:
str
           (type=String)

SetFlags(self, flags)

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

Parameters:
flags
           (type=int)

SetReplaceString(self, str)

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

Parameters:
str
           (type=String)


Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:52:03 2007 http://epydoc.sf.net