On Mon, Dec 14, 2009 at 10:42:40AM +0000, Michele Mattioni wrote: > Is it possible to embed a mayavi2 scene in a GTK application?
No, I am sorry, this will not be possible, we do not have a pyGTK backend. > I don't need to dock the window with the gtk, I need to control in an > interactive way (a la Pylab) You cannot mix GUI event loops in the same process, so even that will be impossible. There is a way out, however, which is to use 2 processes. You could either use multiprocessing, to to threading-like inter-process communication, or use socket communication, as in http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/tips.html#serving-mayavi-on-the-network Gaƫl ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
