Folks,
probably stupid newbie's question - how to bind, from Kivy language, to a property wrapped in an object ?
What I am trying to do is something like:
Label:
text: app.myobject.myproperty
, where app is something like
class MyApp(App):
myobject = MyWrapper()
class MyWrapper:
myproperty = StringProperty("TEST")
This seems not to work, I mean change of myobject.myproperty doesn''t trigger change of the label.
When the property is not wrapped, everything works:
Label:
text: app.myproperty
, where app is
class MyApp(App):
myproperty = StringProperty("TEST")
Any idea?
Thanks,
Petr