wx.MessageDialog

Inheritance diagram for wx.MessageDialog:



Description

This class represents a dialog that shows a single or multi-line message, with a choice of OK, Yes, No and Cancel buttons.

Methods Summary

Class API

Methods

__init__(parent, message, caption=wx.MessageBoxCaptionStr, style=wx.OK|wx.CANCEL|wx.CENTRE, pos=wx.DefaultPosition)

Constructor, use ShowModal to display the dialog.

Parameters:


Returns:

wx.MessageDialog


ShowModal()

Shows the dialog, returning one of wx.ID_OK, wx.ID_CANCEL, wx.ID_YES, wx.ID_NO.


Returns:

int