Tag Archives: Application

Kivy Course #4 – Box Layout Example

This part is continuing with BoxLayout class of Kivy. BoxLayout is another common layout which is used frequently. It supports both vertical and horizontal orientations and size hints to spare the widgets at specific ratios.

The Python code is:

And the Kivy Language file is:

More explained documentation will come soon.

Kivy Course #3 – Grid Layout Example

In this section, layouts are introduced with more details and images of them are shown. Grid layout is one of the most known widgets and the code may be found below.

The main Python file:

And the Kivy Language file which should be named as izgara.kv:

 

Kivy Course #2 – More Buttons With Kivy Language

At the second part of the course, more buttons are added to root widget and Kivy Language is utilized while adding them. From this part, view section of the codes are seperated in a .kv file. You can find the codes below.

Our main python file:

 

Name this as uygulama.kv:

 

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:

Detailed explanation will be added soon.