From: Federico A. <ari...@gm...> - 2013-10-11 17:37:15
|
Ok, for me embedding is more of using the canvas directly and putting inside my own window. But OK, i give you that. In that case, if I have standalone funcion (or class) that can be run alone something like do_my_plots().... that if run with python myplots.py will display the plots. How can I add the do_my_plots call to my Gk3 app? and not having to worry that closing the plot windows will close my gtk3 app? Federico On Fri, Oct 11, 2013 at 1:32 PM, Eric Firing <ef...@ha...> wrote: > On 2013/10/11 7:12 AM, Federico Ariza wrote: >> I am not embedding, just launching, as the example shows. > > No, your example shows that you *are* embedding. You are running your > own Gtk.main(). That's embedding. > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Y yo que culpa tengo de que ellas se crean todo lo que yo les digo? -- Antonio Alducin -- |