David Lees wrote:
> 
> Paul Prescod said: "Tkinter code is not compatible with the PythonWin
> environment. You should use Komodo for that."
> 
> Paul,
> 
> Could you please elaborate on this incompatability and be more
> specific.  I have just started using Pmw and tkinter in pythonwin over
> the last few days and have not seen any compatability problems.  But my
> use of megawidgets has been limited, so I would like to know about
> possible problems.  Also, does IDLE have whatever these problems are
> too?

Pythonwin runs Python code in the same process and Windows message loop
that is used for the environment itself. It is in general not safe to
have both the PythonWin framework and the TK framework working on the
same message loop. PythonWin can be used to edit Tk programs but
debugging could crash the environment. Of course there is no
compatibility between *ActivePython* and Tk.

IDLE does not have the problem because IDLE is written in Tk. You would
probably have a problem with IDLE if you tried to use it to develop MFC
applications. It would be the same two-message loop problem.

Komodo does not have these issues because it runs all of its programs in
a separate process so there are no message loop problems.

-- 
Vote for Your Favorite Python & Perl Programming  
Accomplishments in the first Active Awards! 
http://www.ActiveState.com/Awards
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to