Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
config:kivy [2016/02/06 12:18] – created doug_le_toguhconfig: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://www.geany.org/manual/#custom-filetypes|custom filetype]] for the [[https://kivy.org/docs/api-kivy.lang.html|Kivy]] language.
  
 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://www.geany.org/manual/#custom-filetypes|custom filetype]] for [[https://kivy.org/docs/api-kivy.lang.html|configuration files]]. 
  
 <file properties ~/.config/geany/filedefs/filetypes.Kv.conf> <file properties ~/.config/geany/filedefs/filetypes.Kv.conf>
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 on_press value rows lines +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 color background_normal background_down anim_delay source rgba name valign halign markup text_size texture_size allow_stretch keep_ratio rectangle spacing padding padding_x padding_y orientation value rows lines top border background_active background_color foreground_color cursor_color input_type multilines keyboard_suggestions auto_indent background_disabled_active background_disabled_normal cursor cursor_blink cursor_col cursor_pos cursor_row disabled_foreground_color font_name handle_image_left handle_image_right hint_text hint_text_color input_filter keyboard_suggestions line_height line_spacing minimum_height multiline password password_mask readonly replace_crlf scroll_x scroll_y selection_color selection_from selection_text selection_to suggestion_text tab_width use_bubble use_handles write_tab on_press on_touch on_release on_text on_top on_y on_x on_height on_width on_size on_size_hint on_pos on_pos_hint on_double_tap on_quad_touch on_triple_tap 
  
 # 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.
Print/export