On Jan 9, 12:36 am, Carlo Hamalainen <carlo.hamalai...@gmail.com> wrote: > On Sat, Jan 9, 2010 at 5:48 PM, ghtdak <gl...@tarbox.org> wrote: > > What I currently do, and its a bit of a kludge, is run ipython with > > the -q4thread event loop. I have C++ Qt windows for my custom gui > > requirements (invoked through some Cython bridge code), matplotlib > > through PyQt and Mayavi2. > > Do you have a small example of this Qt-ipython-cython setup? Even if > it's a bit of a kludge it sounds handy.
Well, i can assure you its a kludge :-) I'll put something up on the wiki. I already have a page describing how I build PyQt, VTK and Mayavi2 into Sage. The glue code is minimal so I could easily show you what I'm doing. The "gift" really was that ipython already worked with PyQt... so when I launch Qt components wrapped in Cython, they have an event loop to grab onto. Essentially, I didn't need to do anything special cuz there was a working event loop already integrated with interactive ipython. -glenn > > -- > Carlo Hamalainenhttp://carlo-hamalainen.net
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org