Archive

Archive for September 14th, 2011

Kivy – Multiple Layouts

September 14th, 2011 No comments

I wonder how can I have several layouts and change between them using kv files in kivy. Actually I have the answer.

You have to create an ejercicio.kv file. You have to define the classes you are going to use for each layout such as.

#:kivy 1.0

<MyLabelWithBackground>:
       #definition

<Ejercicio>:
      #definition

<Layout1>:
      #definition

<Layout2>:
      #definition

Read more…

Categories: kivy, multitouch, python Tags: , , ,