adding simple example in slider.py

This commit is contained in:
tshirtman 2012-11-15 20:58:09 +01:00
parent 4a70238fca
commit ae2c63ec33
1 changed files with 8 additions and 0 deletions

View File

@ -190,3 +190,11 @@ class Slider(Widget):
self.value_pos = touch.pos
return True
if __name__ == '__main__':
from kivy.app import App
class SliderApp(App):
def build(self):
return Slider()
SliderApp().run()