From ae2c63ec33cb1950ecd0e7443974f6845e8cb7f3 Mon Sep 17 00:00:00 2001 From: tshirtman Date: Thu, 15 Nov 2012 20:58:09 +0100 Subject: [PATCH] adding simple example in slider.py --- kivy/uix/slider.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kivy/uix/slider.py b/kivy/uix/slider.py index 33aa58366..e40331ddc 100644 --- a/kivy/uix/slider.py +++ b/kivy/uix/slider.py @@ -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()