From my point of view there must be one severe
enhancement to interface - flags of what features
currently loaded backend do supports. For example some
interfaces do support changing attributes of objects
from threads other that GUI worker thread (i.e. thread
that running Application.run()) others not.
anygui should contain flag for this case - like DB-API2
It may be theived from DB-API:
threadsafety = 0 #only one thread can work with this
threadsafety = 1 #only thread that created this Window
can work with attributes of controls
threadsafety = 2 #only thread that created control can
work with attributes
threadsafety = 3 #backend _is_ thread safe
Log in to post a comment.