Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets and ipython

2010-09-03 Thread Brian Granger
Michiel, On Fri, Sep 3, 2010 at 9:22 AM, Michiel de Hoon wrote: > --- On Wed, 9/1/10, Brian Granger wrote: >> > So right now you're in a loop in which you let qt4 (or >> wx) watch the file descriptors qt4 needs, then zeromq the >> file descriptors that zeromq needs, and so on? >> >> ZMQ sockets

Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets and ipython

2010-09-03 Thread Michiel de Hoon
--- On Wed, 9/1/10, Brian Granger wrote: > > So right now you're in a loop in which you let qt4 (or > wx) watch the file descriptors qt4 needs, then zeromq the > file descriptors that zeromq needs, and so on? > > ZMQ sockets are not really sockets in that they do not have > a file descriptor inte

Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets and ipython

2010-09-01 Thread Brian Granger
On Tue, Aug 31, 2010 at 7:02 AM, Michiel de Hoon wrote: >> 1. Our networking event loop that is based on zeromq/pyzmq >> 2. A single GUI event loop from wx, qt4, etc. >> >> We do this by triggering an iteration of our networking >> event loop on a periodic GUI timer. > > So right now you're in a l

Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets and ipython

2010-08-31 Thread Michiel de Hoon
> 1. Our networking event loop that is based on zeromq/pyzmq > 2. A single GUI event loop from wx, qt4, etc. > > We do this by triggering an iteration of our networking > event loop on a periodic GUI timer. So right now you're in a loop in which you let qt4 (or wx) watch the file descriptors qt4

Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets and ipython

2010-08-30 Thread Brian Granger
tion, but it is much simpler when you only have 1 GUi event loop involved. Cheers, Brian > Best, > --Michiel. > > > --- On Sun, 8/29/10, Brian Granger wrote: > >> From: Brian Granger >> Subject: Re: [matplotlib-devel] Uniform GUI support across matplotlib, e

Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets and ipython

2010-08-30 Thread Michiel de Hoon
ct: Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets > and ipython > To: "Michiel de Hoon" > Cc: matplotlib-devel@lists.sourceforge.net, "IPython Development list" > , enthought-...@enthought.com, "Evan Patterson" > > Date: Sunday, A

Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets and ipython

2010-08-29 Thread Brian Granger
On Sat, Aug 28, 2010 at 8:12 PM, Michiel de Hoon wrote: > I implemented an event loop in the MacOSX backend and the PyOS_ImportHook > event loop in PyGTK, so I've been interested in this topic. Yes, and you were quite helpful last summer when i was trying to understand the PyOS_InputHook logic.

Re: [matplotlib-devel] Uniform GUI support across matplotlib, ets and ipython

2010-08-28 Thread Michiel de Hoon
I implemented an event loop in the MacOSX backend and the PyOS_ImportHook event loop in PyGTK, so I've been interested in this topic. If I understand guisupport.py correctly, IPython runs the backend-specific event loop. Have you considered to implement an event loop in IPython and to run that