| Argument |
Data type/notes |
| self |
the window (background) that is the parent
for the dialog |
| message |
quoted string displayed inside dialog box as
prompt for user input |
| title |
quoted string displayed in title bar of dialog |
| lst |
list of values representing contents of dialog
choice list |
result = dialog.singleChoiceDialog(self, "message", "title",
['one', 'two', 'three'])
| Name of value |
Description |
| accepted |
True = user clicked OK False = user clicked Cancel |
| selection |
string containing the list element selected
by the user |