set_selection

@accepts(<list>)
@returns(none)
def set_selection(vals)

Replaces the selection in the property view. All values in the list that are present in the view will be selected, and the view will be scrolled to show the last value selected.

vals :

the values to be selected