kivy_les_fichiers_kv
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
kivy_les_fichiers_kv [2018/09/20 13:28] – [Kivy: Les fichiers kv] serge | kivy_les_fichiers_kv [2019/12/26 13:13] – [self] serge | ||
---|---|---|---|
Ligne 25: | Ligne 25: | ||
''' | ''' | ||
Application from a .kv | Application from a .kv | ||
- | ====================== | + | |
The root application is created from the corresponding .kv. Check the test.kv | The root application is created from the corresponding .kv. Check the test.kv | ||
file to see what will be the root widget. | file to see what will be the root widget. | ||
Ligne 184: | Ligne 184: | ||
==== self ==== | ==== self ==== | ||
- | Le mot clé self fait référence à l' | + | Le mot clé self fait référence à l' |
<code python> | <code python> | ||
- | Button: | + | < |
- | text: "My state is {}" | + | |
+ | | ||
</ | </ | ||
==== root ==== | ==== root ==== | ||
Ligne 404: | Ligne 405: | ||
</ | </ | ||
- | {{tag> | + | {{tag> |
kivy_les_fichiers_kv.txt · Dernière modification : 2020/10/29 13:50 de serge