Since so many of you guys have voted for Kivy Mobile App as our next GUI project - I thought it would be great to film a quick introduction to Kivy while you’re waiting for the advanced project to be completed! 😁
In this tutorial, we will create a Simple Greeting App, where we collect a name and return a “Hello” greeting!
We will first place the all widgets on the interface, connect a callback function to our button and lastly we will add some styling to our app.
👩💻 STARTER CODE 👨💻
from kivy.app import App
from kivy.uix.gridlayout import GridLayout
from kivy.uix.label import Label
from kivy.uix.image import Image
from kivy.uix.button import Button
from kivy.uix.textinput import TextInput
class SayHello(App):
def build(self):
self.window = GridLayout()
#add widgets to window
return self.window
if __name__ == "__main__":
SayHello().run()
⭐ Timestamps ⭐
Simple Greeting App Github Repository:
https://github.com/MariyaSha/SimpleGreetingApp
Kivy Documentation:
https://kivy.org/doc/stable/
#python #kivy #mobile-apps