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

Fernando Perez fperez.net@gmail....
Mon Sep 6 15:45:48 CDT 2010


On Mon, Sep 6, 2010 at 1:32 PM, Almar Klein <almar.klein@gmail.com> wrote:
>
> 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.

Even better, we just put in there

# GTK

# Go home happy, you don't need to do anything for GTK!  Your code
works without any extra modifications needed :)

I'd rather just explain that to people than make them do busy calls
that serve no purpose.  Most people (with a few exceptions, obviously)
only write code for the toolkit they use, so the gtk crowd (and
possibly tk/fltk) will just register "I don't have to worry about it"
and move on, rather than sprinkling all their codes with extra no-ops.

Cheers,

f


More information about the IPython-dev mailing list