[IPython-dev] Uniform way of integrating event loops among different IDE's

Almar Klein almar.klein@gmail....
Mon Sep 6 15:32:43 CDT 2010


On 6 September 2010 22:04, Fernando Perez <fperez.net@gmail.com> wrote:

> Hi Almar,
>
> On Mon, Sep 6, 2010 at 12:53 PM, Almar Klein <almar.klein@gmail.com>
> wrote:
> >
> > That sounds great! I'll take a look at filling in the blanks for tk, fltk
> > and gtk if you like.
>
> that would be great. Note that as far as we've seen, in light testing
> it seems that for gtk nothing is needed: with this code on our side:
>
>
> http://github.com/ipython/ipython/blob/newkernel/IPython/zmq/gui/gtkembed.py
>
> every single gtk example I've tried so far has worked (with the only
> caveat being that you have to close them with the window manager
> buttons rather than the app's own close button/menu).  So we may be
> home free for gtk, though that's still up for confirmation with more
> testing and someone more knowledgeable in the matter than me.
>
> It also looks like something similar may be OK for tk, where with a
> bit of hijacking from our side, we can let unmodified Tk code run
> happily within our own environment.
>
> For Qt/Wx it definitely seems that the cooperation via guisupport will
> be needed.  And for fltk, I have no idea.
>

I don't think there's much to do for fltk either, I'll look into it tomorrow
I hope.

May I suggest to put in a start_event_loop_* for tk and gtk even if they'd
just do "pass"? It would look more uniform to the user. Now it looks a bit
like gtk and tk are not yet supported.

  Almar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20100906/eb0b5eef/attachment.html 


More information about the IPython-dev mailing list