The Selection class has this constructor:
| slist=[],title='Selection Dialog',mode=None,sort=False,selected=[]) |
selected is a list of items that are initially selected.
Selection objects have the following methods:
| selected) |
| ) |
If the user cancels the selection operation, the return value is None. Else, the result is always a list, possibly empty or with a single value.