Phoenix Logo

phoenix_title wx.WindowModalDialogEvent

Event sent by wx.Dialog.ShowWindowModal when the dialog closes.

New in version 2.9.0.


class_hierarchy Class Hierarchy

Inheritance diagram for class WindowModalDialogEvent:

method_summary Methods Summary

__init__ Constructor.
Clone Clone the event.
GetDialog Return the corresponding dialog.
GetReturnCode Return the dialog’s return code.

property_summary Properties Summary

Dialog See GetDialog
ReturnCode See GetReturnCode

api Class API



class wx.WindowModalDialogEvent(CommandEvent)

Possible constructors:

WindowModalDialogEvent(commandType=wxEVT_NULL, id=0)

Event sent by Dialog.ShowWindowModal() when the dialog closes.


Methods



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

Constructor.

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


Clone(self)

Clone the event.

Return type: wx.Event


GetDialog(self)

Return the corresponding dialog.

Return type: wx.Dialog


GetReturnCode(self)

Return the dialog’s return code.

Return type:int

Properties



Dialog

See GetDialog



ReturnCode

See GetReturnCode