This class represents a dialog that shows a list of strings, and allows the user to select one or more.
This class supports the following styles:
See also
MultiChoiceDialog Overview, SingleChoiceDialog
__init__ | Constructor taking an array of String choices. |
GetSelections | Returns array with indexes of selected items. |
SetSelections | Sets selected items from the array of selected items’ indexes. |
ShowModal | Shows the dialog, returning either ID_OK or ID_CANCEL. |
This class represents a dialog that shows a list of strings, and allows the user to select one or more.
Possible constructors:
MultiChoiceDialog(parent, message, caption, n, choices,
style=CHOICEDLG_STYLE, pos=DefaultPosition)
MultiChoiceDialog(parent, message, caption, choices,
style=CHOICEDLG_STYLE, pos=DefaultPosition)
Overloaded Implementations:
__init__ (self, parent, message, caption, n, choices, style=CHOICEDLG_STYLE, pos=DefaultPosition)
Constructor taking an array of String choices.
Parameters: |
|
---|
Note
Use ShowModal to show the dialog.
__init__ (self, parent, message, caption, choices, style=CHOICEDLG_STYLE, pos=DefaultPosition)
Constructor taking an array of String choices.
Parameters: |
|
---|
Note
Use ShowModal to show the dialog.
Returns array with indexes of selected items.
Return type: | list of integers |
---|
Sets selected items from the array of selected items’ indexes.
Parameters: | selections (list of integers) – |
---|
Shows the dialog, returning either ID_OK or ID_CANCEL.
Return type: | int |
---|
See GetSelections and SetSelections