[Python-ideas] Tkinter and tulip

Guido van Rossum guido at python.org
Sun Dec 23 07:24:12 CET 2012


I hadn't thought of Tkinter, but it is an excellent idea to see how it and
tulip could integrate. Maybe it is possible to add Tkinter as a file
descriptor to tulip? I won't have time to look into this myself for a while
but would love it if someone tried this and gave feedback.

--Guido

On Saturday, December 22, 2012, Terry Reedy wrote:

> Though not mentioned much in the tulip discussion, tkinter is a third 'T'
> package with its own event loop. (And by the way, I associate 'tulip' with
> 'Floriade', with 10s of thousands of tulips in bloom. It was a +++
> experience. But I suppose it is too cute for Python ;-)
>
> Yesterday, tk/tkinter expert Kevin Walzer asked on python-list how to
> (easily) read a pipe asynchonously and post the result to a tk text widget.
> I don't know the answer now, but is my understanding correct that in the
> future a) there should be a tk loop adapter that could replace the default
> tulip loop and b) it would then be easy to add i/o events to the tk loop?
>
> My personal interest is whether it will some day be possible to re-write
> IDLE to use tulip so one could edit in an edit pane while the shell pane
> asynchronously waits for and displays output from a 'long' computation.* It
> would also be nice if ^C could be made to work better -- which is to say,
> take effect sooner -- by decoupling key processing from socket reading. I
> am thinking that IDLE could be both a simple test and showcase for the
> usefulness of tulip.
>
> *I currently put shell and edit windows side-by-side on my wide-screen
> monitor. I can imagine putting two panes in one window instead.
>
> --
> Terry Jan Reedy
>
> ______________________________**_________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/**mailman/listinfo/python-ideas<http://mail.python.org/mailman/listinfo/python-ideas>
>


-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121222/fd39c2b1/attachment.html>


More information about the Python-ideas mailing list