Adding gtk widgets to the pylab interface window

Hello,

I've made a program that uses pylab to generate an animated plot but I needed
to add some extra GTK widgets in the same window as the animated plot. This
wasn't possible because I couldn't pack the widgets in the same VBox as the
pylab window. This was because get_current_fig_manager() gives you acces to
the window and canvas but not to the vbox. I've patched matplotlib to also
export the VBox attribute.

Best regards,

vbox.patch (995 Bytes)

···

--
Ben Vanhaeren
System Administrator
RF&M Dept
SCK-CEN
Boeretang 200
2400 MOL
Belgium

Thanks for the patch, its been applied to CVS.
Regards
Steve

···

On Thu, 2005-01-06 at 12:18 +0100, Ben Vanhaeren wrote:

Hello,

I've made a program that uses pylab to generate an animated plot but I needed
to add some extra GTK widgets in the same window as the animated plot. This
wasn't possible because I couldn't pack the widgets in the same VBox as the
pylab window. This was because get_current_fig_manager() gives you acces to
the window and canvas but not to the vbox. I've patched matplotlib to also
export the VBox attribute.

Best regards,