5 points · by orbisvicis · 2y ago · 5 comments
Contrast with gtk in C and Python which I used to do many years ago. I never found it fun like tkinter but the docs were pretty good. Great high level conceptual overview, not so great on widget details, and very little on design practices. Contrast with tkinter in which there are millions of ways for encapsulating widgets into classes.
As for QT, I've bounced off that every time I've tried to pick it up.
My point is, I really like tkinter and want to commit to it, with some help.
I would recommend learning Tk and the details of how tkinter wraps Tk https://en.wikipedia.org/wiki/Tk_(software)
These resources might help:
Also the tkdocs book is one of the books I reviewed, 3rd edition. The only mention of bindtags is a reference to the tkdocs website, which only documents the four default tags but not much else, which in turn references the Tk manual, which is hard to read as I don't understand Tcl.
Yet.
>> Yeah but Tcl... is it worth it?
That is for you to decide.
It's definitely worth learning at least some very basic Tcl if you want to get as much as possible out of tkinter - sometimes you end up having to use `widget.tk.eval()` to use a Tk feature that tkinter doesn't provide a good wrapper for.
[1] https://www.tcl.tk/man/tcl/TkCmd/contents.html [2] https://www.tcl.tk/man/tcl/TkCmd/pack.htm#M27