Skip to content

Instantly share code, notes, and snippets.

@VladSem
Last active November 22, 2015 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VladSem/d9c0ef91ef95bdc4af42 to your computer and use it in GitHub Desktop.
Save VladSem/d9c0ef91ef95bdc4af42 to your computer and use it in GitHub Desktop.
Python/Kivy. This code will create button with text "Hello World"
#!/usr/bin/kivy
from kivy.app import App
from kivy.uix.button import Button
from kivy.core.window import Window
class TestApp(App):
Window.size = (320, 240)
title = 'vswebschool.blogspot.com'
def build(self):
return Button(text='Hello World')
TestApp().run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment