Using Mayavi's tvtk/mlab within pyGTK?
hello, i have found this post http://www.serpia.org/pygtk on how to display a matplotlib figure inside a pyGTK window. Is it somehow possible to do the same with the mlab module from the Mayavi / tvtk visualization toolkit? (http://scipy.org/Cookbook/ MayaVi/mlab) Even a hack to render mlab's output to a png and display this in the pygtk window would be great! Any link or snippet is highly appreciated! Thanks a lot, rene
"René" == René Donner <rene.donner@mac.com> writes:
René> hello, i have found this post René> http://www.serpia.org/pygtk René> on how to display a matplotlib figure inside a pyGTK window. René> Is it somehow possible to do the same with the mlab module René> from the Mayavi / tvtk visualization toolkit? René> (http://scipy.org/Cookbook/ MayaVi/mlab) There is no native pyGTK port of the enthought tool suite UI tools (yet). However, you could try and use gtk.Plug and gtk.Socket to "plug" the wxPython widget into your GTK widget. I haven't tried this but it might just work. cheers, prabhu
hi prabhu, thanks for the hint! i will try this and report on my results :-) rene Am 05.08.2006 um 19:36 schrieb Prabhu Ramachandran:
"René" == René Donner <rene.donner@mac.com> writes:
René> hello, i have found this post
René> http://www.serpia.org/pygtk
René> on how to display a matplotlib figure inside a pyGTK window.
René> Is it somehow possible to do the same with the mlab module René> from the Mayavi / tvtk visualization toolkit? René> (http://scipy.org/Cookbook/ MayaVi/mlab)
There is no native pyGTK port of the enthought tool suite UI tools (yet). However, you could try and use gtk.Plug and gtk.Socket to "plug" the wxPython widget into your GTK widget. I haven't tried this but it might just work.
cheers, prabhu _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
participants (2)
-
Prabhu Ramachandran -
René Donner