[IPython-dev] Detecting GUI mainloop running in IPython

Gael Varoquaux gael.varoquaux at normalesup.org
Sun Jul 25 17:14:16 EDT 2010

On Sun, Jul 25, 2010 at 11:05:53AM -1000, Eric Firing wrote:
>> I believe that 1 is due to matplotlib registering an InputHook, but I
>> cannot find where it is done. Also, does this seems to mean that under
>> Linux GTK input hooks work for Wx (and they are nicer since they don't
>> poll).
> No, mpl is not registering an InputHook, but pygtk is.  Maybe this is  
> having a side effect because wx on linux is a wrapper around gtk.

Interesting. It's actually very nice. I wonder if IPython could use this
to avoid the current polling loop in wx which is fairly annoying.


More information about the IPython-dev mailing list