Co-authored-by: rodzilla <[email protected]>
This commit is contained in:
rrrodzilla
2021-01-29 08:01:57 +00:00
committed by GitHub
co-authored by rodzilla
parent 350420abfb
commit c5a2e375c5
2 changed files with 29 additions and 0 deletions
+7
View File
@@ -697,6 +697,13 @@
"quotes": [["\\\"", "\\\""], ["\\\"\\\"\\\"", "\\\"\\\"\\\""]],
"extensions": ["kt", "kts"]
},
"KvLanguage": {
"name":"KV Language",
"line_comment": ["# "],
"doc_quotes": [["\\\"\\\"\\\"", "\\\"\\\"\\\""], ["'''", "'''"]],
"quotes": [["\\\"", "\\\""], ["'", "'"]],
"extensions": ["kv"]
},
"Lean": {
"line_comment": ["--"],
"multi_line_comments": [["/-", "-/"]],
+22
View File
@@ -0,0 +1,22 @@
# 22 lines 17 code 3 comments 2 blanks
#:kivy 2.0.0
#:import C kivy.utils.get_color_from_hex
#:import KeypadButton keypadbutton
#:include keypadbutton.kv
#:set name value
<DynamicWidgetClass>:
color: C('#27272A')
# general comment
<Keypad@GridLayout>:
width: self.minimum_width
height: self.minimum_height
size_hint: None, None
cols: 3
spacing: 6
KeypadButton:
text: '1'
disabled: root.disabled
on_press: root.dispatch('on_key_pressed', self.key_val)
# a final comment