def _reaction_press(self, event): if self.current_state_key == STATE_NORMAL: Pressable._press(self) elif self.current_state_key == STATE_PRESSED: Pressable._unpress(self) self.run_user_func()
def _reaction_press(self, event): if self.current_state_key == STATE_NORMAL: Pressable._press(self)