@ccc , maybe I am just being stupid. But vars does not seem to work on Live ui objects. Ie vars(ui.View()) , but works on types eg vars(ui.View)

I am just doing something stupid or is it because of c? Seems strange that ui.View as a live object does not work. It would make more sense if that worked and ui.Button didn't.

For a while I thought I was definitely wrong, then when I looked closer at your example, i realised your classes are based on object. Just so used to MyClass using ui.View so I didn't notice it.