[Pythonmac-SIG] Beginner's questions
Jack Jansen
Jack.Jansen at cwi.nl
Sat Dec 27 10:17:53 EST 2003
On 27-dec-03, at 12:10, Konrad Hinsen wrote:
> On 26.12.2003, at 22:54, Jack Jansen wrote:
>
>> You cannot run Tkinter programs from the IDE. Nor, for that matter,
>> Cocoa programs or wxWindows programs or anything else that uses a
>> different GUI toolkit than the IDE does. I will add an FAQ entry on
>> this (I thought this was already there, but apparently it wasn't).
>
> So what is the GUI toolkit used by the IDE?
At the lowest level there is the Carbon toolkit: Carbon.Evt,
Carbon.Win, Carbon.Dlg and such. On top of that there is a very old
application framework (originally done by Guido himself) called
Framework. On top of that there is the W toolkit, which the IDE uses.
The Framework and W layers are somewhat "transparent", i.e. you don't
lock yourself in to them when you use them, you can still use the lower
layers. In other words: W and Framework applications should run fine
under the IDE, and probably pure Carbon applications do too.
>> Definitely a known problem, but there is no "correct" solution: it's
>> really a Python design problem. Numeric expects to install its
>> headers into $prefix/include/
>
> I am still hoping that one day distutils will take care of that by
> providing a special category "header files".
Header files is one symptom of the problem, scripts have a similar
problem, and so do packages, to an extent. I'm planning to do a PEP for
2.4, but then: I have so many plans:-)
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma
Goldman
More information about the Pythonmac-SIG
mailing list