Please take a look at the backend_gtk.py if you're going to customize
the toolbar.

fig.canvas.toolbar is derived from gtk.Toolbar. So, you can customize
it as you do for any gtk.Toolbar.

I guess something like below is similar to DeleteToolByPos in wx. I
just grabbed it by doing dir on the toolbar, so there might be a
better way.

fig.canvas.toolbar.remove(fig.canvas.toolbar.get_nth_item(1))

Regards,

-JJ


On Sat, Oct 3, 2009 at 10:53 AM, redrum <jvande...@hotmail.com> wrote:
>
> Hi there,
>
> I'm currently trying to have my own navigation toolbar by deleting some
> unuseful buttons.
>
> Solutions given as follows is working for wxpython but not for pygtk since
> DeleteToolByPos cannot be found :
>
> http://www.nabble.com/Navigation-toolbar-w-o-subplot-configuration-button-td18747977.html
>
> Has anyone  ever tried to edit navigation toolbar with a pygtk-based
> algorithm and could share his experience ?
>
> Regards,
> --
> View this message in context: 
> http://www.nabble.com/Navigation-toolbar-edit-for-pygtk-based-algorithm-tp25729532p25729532.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to