Skip to content

Instantly share code, notes, and snippets.

@ahmedfgad
Created May 6, 2019 15:24
Show Gist options
  • Select an option

  • Save ahmedfgad/f122be2c9a6c8c5bb2b98ef6747fe7b5 to your computer and use it in GitHub Desktop.

Select an option

Save ahmedfgad/f122be2c9a6c8c5bb2b98ef6747fe7b5 to your computer and use it in GitHub Desktop.
import kivy.app
import kivy.uix.label
import kivy.uix.boxlayout
class FirstApp(kivy.app.App):
def build(self):
self.label = kivy.uix.label.Label(text="Hello Kivy")
self.layout = kivy.uix.boxlayout.BoxLayout()
self.layout.add_widget(widget=self.label)
return self.layout
firstApp = FirstApp()
firstApp.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment