[Patches] [ python-Patches-490100 ] Lets Tkinter work with MacOSX native Tk

noreply@sourceforge.net noreply@sourceforge.net
Fri, 07 Dec 2001 02:34:54 -0800


Patches item #490100, was opened at 2001-12-06 18:44
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=490100&group_id=5470

Category: Macintosh
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Tony Lownds (tonylownds)
Assigned to: Jack Jansen (jackjansen)
Summary: Lets Tkinter work with MacOSX native Tk

Initial Comment:
There is a new Tcl/Tk in alpha that works on MacOSX's
windowing layer natively. This patch adds calls
necessary for Tkinter to work with it.

The Tcl/Tk alpha can be picked up here:

http://sourceforge.net/project/showfiles.php?group_id=10894

NOTE: The amount of extra code needed to interface with
Tcl/Tk will probably go down with the next alpha of Tcl/Tk.



----------------------------------------------------------------------

>Comment By: Jack Jansen (jackjansen)
Date: 2001-12-07 02:34

Message:
Logged In: YES 
user_id=45365

I assume the sprintf change was a mistake (I've undone it
after I applied the patch).
Aside from that the patch looks harmless to other platforms,
but I haven't gotten it to work yet. It fails compilation
with a missing X11/Xlib.h include. If I can get it to
compile at least once I'll put it in CVS before 2.2 (even
though it is only useful to the real die-hards: it requires
a Tk alfa, and only works under the experimental
framework-based Python.app).

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2001-12-07 01:20

Message:
Logged In: YES 
user_id=21627

Please review your patches carefully before submitting them.
Why does this change PyOS_snprintf to sprintf?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=490100&group_id=5470