On Jan 30, 2012 6:27 AM, "zentara" <[email protected]> wrote: > > Hi, > > Since the new version of TriD, built on the perl OpenGL > module, the ease of embedding a TriD window into other > eventloop programs has seemed to disappear. > > Specifically for me, the PDL::Graphics::TriD::Tk module. > > Chris has explained why this has temporarily happened, > but he also said that embedding into Wx, Prima, and some > other framework was supported. Or am I wrong in that?
The support in Prima is only experimental. As for Wx, I suspect the underlying library supports it, but I am not certain and I cannot say anything about the Perl bindings. What does CPAN say? > Anyways, I would like to add an example to my > http://zentara.net/TriD_Tutorial/TriD_Tutorial.html > showing how to setup some user controls, like sliders > and color controls, to control parameters fed to an embedded TriD window. > > Tk made it very easy to do this. > > But I also like straight Gtk2; and since Wx is built > on Gtk2, I wonder if anyone knew how to embed > a TriD window into Wx or preferably straight Gtk2? Point of clarification: Wx is not Gtk2. It may be on a gnome system, but it may not be on a Qt-based system like KDE and it certainly is not based on Gtk for Windows or Mac. Wx tries to provide cross-platform gui with a native look, and it does this by hooking into the native libraries. As such, it may provide OpenGL bindings, but I'm not positive of that. > Thanks, > zentara > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl Being able to interact with a plot via widgets is one of many reasons for my work on Prima, so I fully support including documentation on this. I never really used three-dimensional plotting, so I never knew it was possible before; it really sucks to have lost that. Hold into that material, though, and we'll use it once we get a gui toolkit working fully (either Prima, or whatever else we manage to get working). It's somewhat amazing that this was not reported earlier, actually. Does this qualify as a bug? David
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
