Observable varables can be added to widgets and when they are changed, it fires
off a StateChanged event so you can react to it.
It is implemented as a getter and setter property, along with another helper you
can use to subscribe whith is name_changed. You can also subscribe to the StateChanged
event through the usual means. Just give the name of the variable. See StateChanged for an
example.
Observable varables can be added to widgets and when they are changed, it fires off a StateChanged event so you can react to it.
It is implemented as a getter and setter property, along with another helper you can use to subscribe whith is name_changed. You can also subscribe to the StateChanged event through the usual means. Just give the name of the variable. See StateChanged for an example.