Skip to content

Instantly share code, notes, and snippets.

@ahmedfgad
Created May 9, 2019 12:38
Show Gist options
  • Save ahmedfgad/06ec80935027d96f9908a3ddb7436b85 to your computer and use it in GitHub Desktop.
Save ahmedfgad/06ec80935027d96f9908a3ddb7436b85 to your computer and use it in GitHub Desktop.
BoxLayout:
orientation: "vertical"
Label:
text: "Result of Addition."
id: label
BoxLayout:
orientation: "horizontal"
TextInput:
hint_text: "Enter First Number."
id: textinput1
TextInput:
hint_text: "Enter Second Number."
id: textinput2
Button:
text: "Add Numbers."
on_press: app.add_nums(root)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment