(self)
Toggles the value True/False.
Toggles the value True/False.
Toggles the value True / False .
def toggle(self):
    """Toggles the value True/False."""
    self._value = not self._value
    for listener in self._items:
      listener(self._value)
def toggle ( self ) : self . _value = not self . _value for listener in self . _items : listener ( self . _value )