wx.lib.dialogs.MultiMessageDialog¶
A dialog like wx.MessageDialog
, but with an optional 2nd message string
that is shown in a scrolled window, and also allows passing in the icon to
be shown instead of the stock error, question, etc. icons. The btnLabels
can be used if you’d like to change the stock labels on the buttons, it’s
a dictionary mapping stock IDs to label strings.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Class API¶
- class MultiMessageDialog(wx.Dialog)¶
A dialog like
wx.MessageDialog
, but with an optional 2nd message string that is shown in a scrolled window, and also allows passing in the icon to be shown instead of the stock error, question, etc. icons. The btnLabels can be used if you’d like to change the stock labels on the buttons, it’s a dictionary mapping stock IDs to label strings.
Methods¶
- __init__(self, parent, message, caption='Message Box', msg2='', style=wx.OK | wx.CANCEL, pos=wx.DefaultPosition, icon=None, btnLabels=None)¶
Initialize self. See help(type(self)) for accurate signature.
- OnButton(self, evt)¶