Argument |
Data type/notes |
self |
the window (background) that is the parent for
the dialog |
title |
string to be displayed in the title bar of the
dialog |
message |
string to be displayed inside the dialog as
a prompt for the user |
choices |
list of strings containing the choices to be presented
to the user |
result = dialog.multipleChoiceDialog(self, "title", "message",
['one', 'two', 'three'])
Name of value |
Description |
accepted |
1 = user clicked OK 0 = user clicked Cancel |
selection |
list of strings containing the optoins
chosen by the user. |