Re: tkinter

Guido.van.Rossum@cwi.nl
Tue, 21 Mar 1995 17:36:11 +0100

> Hello. I've started using python + Tk + Ilu. Tkinter seem not to be
> based on the latest Tk release (4.0). Is there a plan to support
> this release of Tk ?

Correct, Tkinter is based on Tk 3.6. I will support Tk 4.0 but I
don't have the time to incorporate support in the (imminent) release
of Python 1.2.

> I've re-compiled Python with the New Tk, and the build is Ok, but
> when I try to use the tkinter demos, I get seg fault... I think it's
> normal....

Actually, only a minimal change is needed to tkintermodule.c to avoid
the segfault. If you get Python 1.2-beta-3 it's already there
(ftp.cwi.nl, pub/guido -- NOT pub/python). But major changes are
required for Tkinter and I haven't yet found the time to work on it.

> Also, is there a way to support pixmap with tkinter ? I understand
> pixmap are not standard in Tk ... (I got the patch for Tk 4.02b)

No idea I'm afraid.

--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>