Created
May 6, 2019 15:24
-
-
Save ahmedfgad/f122be2c9a6c8c5bb2b98ef6747fe7b5 to your computer and use it in GitHub Desktop.
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.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