GUIs - A Modest Proposal

Martin v. Loewis martin at v.loewis.de
Tue Jun 8 19:01:40 EDT 2010


Am 08.06.2010 20:15, schrieb Grant Edwards:
> 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.

So you don't know for sure? Which implementation specifically
do you think of?

>
>> 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.

You mean, like the key bindings of all the widgets, and the ttk widget
set.

Regards,
Martin



More information about the Python-list mailing list