kivy/examples/kv/ids/id_in_kv/test.kv

12 lines
285 B
Plaintext

#:kivy 1.8.0
BoxLayout:
orientation: 'vertical'
TextInput:
# setting the id of the widget
id: my_id
text: 'The text of the label is set within kivy'
Label:
# showing the text of the textinput by referring on the id
text: my_id.text