Table Of Contents

Previous topic

FilterFSHandler

Next topic

FindReplaceData

This Page

phoenix_title FindDialogEvent

FindReplaceDialog events.

events Events Emitted by this Class

Handlers bound for the following event types will receive a 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 Inheritance Diagram

Inheritance diagram for class FindDialogEvent

Inheritance diagram of 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 FindReplaceFlags enumeration values.
GetReplaceString Return the string to replace the search string with (only for replace and replace all events).

api Class API



class FindDialogEvent(CommandEvent)

FindReplaceDialog events.

Possible constructors:

FindDialogEvent(commandType=wxEVT_NULL, id=0)

Methods



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

Constructor used by wxWidgets only.

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


GetDialog(self)

Return the pointer to the dialog which generated this event.

Return type: 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 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