Remove a state to define the widget's behavior. See the *state_modifier_keys* parameter in the constructor of the concrete selector class for details. Parameters ---------- state : str Must be a supported state of the selector. See the
(self, state)
| 2660 | self._state.add(state) |
| 2661 | |
| 2662 | def remove_state(self, state): |
| 2663 | """ |
| 2664 | Remove a state to define the widget's behavior. See the |
| 2665 | *state_modifier_keys* parameter in the constructor of the concrete |
| 2666 | selector class for details. |
| 2667 | |
| 2668 | Parameters |
| 2669 | ---------- |
| 2670 | state : str |
| 2671 | Must be a supported state of the selector. See the |
| 2672 | *state_modifier_keys* parameter in the constructor of the concrete |
| 2673 | selector class for details. |
| 2674 | |
| 2675 | Raises |
| 2676 | ------ |
| 2677 | ValueError |
| 2678 | When the state is not supported by the selector. |
| 2679 | |
| 2680 | """ |
| 2681 | self._validate_state(state) |
| 2682 | self._state.remove(state) |
| 2683 | |
| 2684 | |
| 2685 | class SpanSelector(_SelectorWidget): |