Kivy Course #1 – Introduction With a Basic App

At the first code of the Kivy course consists of a button which covers the entire screen and does nothing. You can just click the button and see that it is clicked with interaction. The code is:

from kivy.app import App
from kivy.uix.button import Button



class BenimUygulamamApp(App):
    def build(self):
        return Button(text="Buton", font_size="50sp")

if __name__ == "__main__":
    BenimUygulamamApp().run()

Detailed explanation will be added soon.

 
comments powered by Disqus