2 ms·
> Also, there are Tk bindings for other languages now. However, these drag in the entire Tcl implementation as a dependency. IIRC some of the ttk widgets are
by kazinator 9y ago
> Also, there are Tk bindings for other languages now.
However, these drag in the entire Tcl implementation as a dependency. IIRC some of the ttk widgets are written in Tcl, at least partially: https://github.com/tcltk/tk/blob/master/library/ttk/treeview.tcl https://github.com/tcltk/tk/blob/master/library/ttk/treeview...
It's a very ugly thing; I'd never drag this into a programming language as a prominent "this is the go-to way to do UI listed in FAQ #3" package.
You really want to confine a Tcl/Tk UI to its own process so all that string churning is happening in its own address space.