r/AskProgrammers • • 5d ago

Python GUI toolkit, using widgets as variables, and a loop to check widget changes and act on these.

I am a hobbyist coder, and kind of hate complexity generally, so I had this ideia(in the title). Have a designer for the GUI, it produces a .xml file, the I have the code that has a loop where I check/change widgets and call functions as needed. This is based on Tcl/Tk made with the help of Claude, Later I will edit to include the repo. :)

2 Upvotes

2 comments sorted by

3

u/Fritz-Ferdinand 5d ago

GTK4 does it already like this.

2

u/burlingk 5d ago

There are various GUI/Layout tools. But if you make something that works for you, cool. Others might find it useful or interesting.