mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-09-13 21:11:29 +00:00
c5a2e375c5
Co-authored-by: rodzilla <roland@textnibble.com>
23 lines
527 B
Plaintext
23 lines
527 B
Plaintext
# 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
|