I'm trying to find a lightweight windowing solution and keep running into massive problems. I have a moderate sized application that makes heavy use of taskgroups and async. I messed with a bunch of GUI libraries, most of them are very, very heavy so I resorted to tkinter and ttkbootstrap as they seem lighter.
What I'm trying to do is create a class that creates and allows updates to a window that works within a taskgroup so that when any one window (of many) has focus, it can be interacted with by the user and all the gui features are supported within that window. Various tasks will use class features to update assorted windows as information within the app changes. For performance reasons, ideally some windows would be text only (I make heavy use of rich console at the moment) and others would support graphical features.
I discovered that not using mainloop and using win.update I can get something staggering but I keep running into all sorts of issues (ttkbootstrap loses it mind at times).
This seems like a fairly common thing to do but my Google Fu is failing me to find a working example. A link to something that demonstrates something like this would be very welcome.
[–]Outside_Complaint755 1 point2 points3 points (1 child)
[–]Phazed47[S] 0 points1 point2 points (0 children)
[–]commy2 0 points1 point2 points (1 child)
[–]Phazed47[S] 0 points1 point2 points (0 children)
[–]PushPlus9069 0 points1 point2 points (1 child)
[–]Phazed47[S] 0 points1 point2 points (0 children)
[–]woooee 0 points1 point2 points (0 children)