Created
September 5, 2014 16:39
-
-
Save kived/38dbd08513b5e43a6666 to your computer and use it in GitHub Desktop.
kivy gif test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import kivy | |
| kivy.require('1.8.1') | |
| from kivy.app import App | |
| from kivy.lang import Builder | |
| root = Builder.load_string(''' | |
| Image: | |
| #source: 'Newtons_cradle_animation_book_2.gif' | |
| source: 'flies2.gif' | |
| anim_delay: 0.1 | |
| ''') | |
| class TestApp(App): | |
| def build(self): | |
| return root | |
| if __name__ == '__main__': | |
| TestApp().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not working , gif image is not showing. What should do???