Hi,
No, the kv language construct the widget dynamically. Usually in python,
we'll have:
btn = Button(text='hello')
While with kv:
<MyScreenWidget>:
Button:
text: 'hello'
Will result into this (internally):
instance = Factory.get('Button')()
# later during the processing of the rule
setattr(instance, 'text', 'hello')
The best way is to listen the property you are setting in the kv lang,
and do the python work from here.
Mathieu
Le 11/02/2013 09:40, Alexey Smishlayev a �crit :
> --
> You received this message because you are subscribed to the Google
> Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
kivy-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>