Skip to content

Instantly share code, notes, and snippets.

@ahmedfgad
Created June 4, 2019 14:36
Show Gist options
  • Save ahmedfgad/458f0723b5b17508d6f8d2fceea7636a to your computer and use it in GitHub Desktop.
Save ahmedfgad/458f0723b5b17508d6f8d2fceea7636a to your computer and use it in GitHub Desktop.
import kivy.app
import kivy.uix.gridlayout
import kivy.uix.button
class BuzzleApp(kivy.app.App):
def build(self):
gridLayout = kivy.uix.gridlayout.GridLayout()
button = kivy.uix.button.Button(text="Button")
gridLayout.add_widget(button )
return gridLayout
buzzleApp = BuzzleApp()
buzzleApp.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment