(self, selected, name, by_label=False, nr=None)
Deprecated: given a name or label and optional disambiguating index
        nr, set the matching item's selection to the bool value of selected.

        Selecting items follows the behavior described in the docstring of the
        'get' method.

        if the item is disabled, or this control is disabled or readonly,
        raise AttributeError.
Deprecated: given a name or label and optional disambiguating index
        nr, set the matching item's selection to the bool value of selected.
Deprecated : given a name or label and optional disambiguating index nr set the matching item s selection to the bool value of selected .
def set(self, selected, name, by_label=False, nr=None):
        """Deprecated: given a name or label and optional disambiguating index
        nr, set the matching item's selection to the bool value of selected.

        Selecting items follows the behavior described in the docstring of the
        'get' method.

        if the item is disabled, or this control is disabled or readonly,
        raise AttributeError.

        """
        deprecation(
            "control.get(...).selected = <boolean>")
        self._set_selected_state(self._get(name, by_label, nr), selected)
def set ( self , selected , name , by_label = False , nr = None ) : deprecation ( "control.get(...).selected = <boolean>" ) self . _set_selected_state ( self . _get ( name , by_label , nr ) , selected )