Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
config:kivy [2016/02/06 12:18] – created doug_le_toguh | config:kivy [2016/02/08 23:07] (current) – Primary list updated with more property keywords doug_le_toguh | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Kivy configuration filetype ====== | ====== Kivy configuration filetype ====== | ||
+ | Experimental [[http:// | ||
The Kivy language is a language dedicated to describing user interface and interactions. You could compare this language to Qt’s QML, but with included new concepts such as rule definitions (which are somewhat akin to what you may know from CSS), templating and so on. | The Kivy language is a language dedicated to describing user interface and interactions. You could compare this language to Qt’s QML, but with included new concepts such as rule definitions (which are somewhat akin to what you may know from CSS), templating and so on. | ||
This language is used beside python to build and manage some great portable GUI for Android, iOS, Linux, OS X and Windows systems. | This language is used beside python to build and manage some great portable GUI for Android, iOS, Linux, OS X and Windows systems. | ||
- | |||
- | Experimental [[http:// | ||
<file properties ~/ | <file properties ~/ | ||
Line 20: | Line 19: | ||
# You can add all properties even your custom ones to the primary line | # You can add all properties even your custom ones to the primary line | ||
# all items must be in one line | # all items must be in one line | ||
- | primary=pos size if font_size height width x y text orientation None id sp dp size_hint size_hint_x size_hint_y canvas canvas.before canvas.after background_normal background_down anim_delay source rgba name valign halign markup text_size texture_size allow_stretch keep_ratio rectangle spacing padding orientation | + | primary=True False pos size if for font_size height width x y text orientation None id sp dp size_hint size_hint_x size_hint_y canvas canvas.before canvas.after |
# The following list is not exhaustive, you may need to add some built-in or custom class names to the identifiers. | # The following list is not exhaustive, you may need to add some built-in or custom class names to the identifiers. |