ZeroPhone / ZPUI

Official ZeroPhone UI framework, based on pyLCI
http://zpui.rtfd.org/
Apache License 2.0
79 stars 19 forks source link

Refactor UI elements to new-style classes #48

Closed CRImier closed 6 years ago

CRImier commented 6 years ago

Recently, we've stumbled upon a problem - setters don't work properly in old-style classes (if at all). BaseListUIElement (the Backgroundable version, at least) uses setters to ensure proper variable passing between threads (specifically, masking a threading.Event() in the in_foreground property setter). If we have functionality in code that actually doesn't work because of such an obscure problem, that should be fixed.

Tasks:

CRImier commented 6 years ago

Done!