Phoenix Logo

phoenix_title wx.FindDialogEvent

wx.FindReplaceDialog events.

events Events Emitted by this Class

Handlers bound for the following event types will receive a wx.FindDialogEvent parameter.

  • EVT_FIND: Find button was pressed in the dialog.
  • EVT_FIND_NEXT: Find next button was pressed in the dialog.
  • EVT_FIND_REPLACE: Replace button was pressed in the dialog.
  • EVT_FIND_REPLACE_ALL: Replace all button was pressed in the dialog.
  • EVT_FIND_CLOSE: The dialog is being destroyed, any pointers to it cannot be used any longer.

class_hierarchy Class Hierarchy

Inheritance diagram for class FindDialogEvent:

method_summary Methods Summary

__init__ Constructor used by wxWidgets only.
GetDialog Return the pointer to the dialog which generated this event.
GetFindString Return the string to find (never empty).
GetFlags Get the currently selected flags: this is the combination of the wx.FindReplaceFlags enumeration values.
GetReplaceString Return the string to replace the search string with (only for replace and replace all events).

api Class API



class wx.FindDialogEvent(CommandEvent)

Possible constructors:

FindDialogEvent(commandType=wxEVT_NULL, id=0)

FindReplaceDialog events.


Methods



__init__(self, commandType=wxEVT_NULL, id=0)

Constructor used by wxWidgets only.

Parameters:
  • commandType (wx.EventType) –
  • id (int) –


GetDialog(self)

Return the pointer to the dialog which generated this event.

Return type: wx.FindReplaceDialog


GetFindString(self)

Return the string to find (never empty).

Return type:string


GetFlags(self)

Get the currently selected flags: this is the combination of the wx.FindReplaceFlags enumeration values.

Return type:int


GetReplaceString(self)

Return the string to replace the search string with (only for replace and replace all events).

Return type:string

Properties



Dialog

See GetDialog



FindString

See GetFindString



Flags

See GetFlags



ReplaceString

See GetReplaceString