def _force_unpress(self): self._count = 0 Clickable._unpress(self) ## self._unhover_noblit() ev_untog = Event(constants.THORPY_EVENT, id=constants.EVENT_UNTOGGLE, el=self) post(ev_untog) self.toggled = False
def _force_unpress(self): self._count = 0 Clickable._unpress(self) ## self._unhover_noblit() ev_untog = Event(constants.THORPY_EVENT, id=constants.EVENT_UNTOGGLE, el=self) post(ev_untog) self.toggled = False
def _unpress(self): if self._count == 2: self._count = 0 Clickable._unpress(self)