__init__(self,
parent,
message,
caption,
choices=EmptyList,
style=CHOICEDLG_STYLE,
pos=DefaultPosition)
(Constructor)
Constructor. Use the ShowModal method to show the dialog.
-
- Parameters:
parent -
The parent window.
(type=Window)
message -
Text to display above the list of selections.
(type=String)
caption -
Text to use in the title bar of the dialog.
(type=String)
choices -
A list of strings or unicode objects that the
user is allowed to choose from.
(type=List)
style -
Styles to apply to the dialog. The default value is
equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
(type=long)
pos -
Where to position the dialog (not used on Windows)
(type=Point)
- Returns:
-
MultiChoiceDialog
- Overrides:
wx.Dialog.__init__
|