GUIs - A Modest Proposal
Ethan Furman
ethan at stoneleaf.us
Tue Jun 8 17:14:12 EDT 2010
Grant Edwards wrote:
> On 2010-06-08, Martin v. Loewis <martin at v.loewis.de> wrote:
>>> TkInter -> Tcl -> Tk -> Xlib
>>>
>>> Is the Tcl intepreter really need to use this GUI? Why not:
>>>
>>> (Pyton ->) Tkinter-API -> Xlib ?
>> Even if this was possible (which it is not)
>
> Why is it not possible? It seems to have been done for other
> languages.
>
>> then you still would need the Tcl interpreter: significant parts of
>> Tk are written in Tcl, so Tk won't work without the Tcl interpreter.
>>
>> However, the Tk API doesn't provide all functionality that Tkinter
>> exposes; many features can only be invoked through Tcl.
>
> True. Were Tcl removed from the equation, then some feautures would
> have to be re-implemented in Python.
>
So what functionality is available from Tk alone? From the very cursory
glance at the source files (mostly the readmes), it seems pretty
entwined with Tcl.
~Ethan~
More information about the Python-list
mailing list