switch

Switch

class kivy.uix.switch.Switch
Switch(active=True)
active

bool

active_norm_pos

bool

touch_control
touch_distance
bind(**kwargs)
  • active

Switch(active=True).bind(active=lambda instance, value: pass)
on_touch_down(touch)
  • touch - kivy.uix.input.motionevent.MotionEvent

on_touch_move(touch)
  • touch - kivy.uix.input.motionevent.MotionEvent

on_touch_up(touch)
  • touch - kivy.uix.input.motionevent.MotionEvent