Ok let\'s say I want that label in some widget to use text from label inside another widget:
:
Label:
text: str(root.
The object property l
probably gets populated after the first event loop iteration, while you are trying to access it within the first. You could delay it till the second iteration to make it work.
The most powerful approach is to bind those properties from inside python code, but there are some kv lang tricks to make it simpler. This is my favorite method:
BoxLayout Label id: label text: 'hello world' SubWidget label_text: label.textlabel_text: 'none' Label text: root.label_text