On Thu, Jul 31, 2008 at 8:18 AM, Ben Axelrod <[EMAIL PROTECTED]> wrote: > Yes. I did this by deriving my toolbar class from the default > NavigationToolbar2WxAgg. Then deleting the buttons I did not want. I had to > delete by position, because I did not know their IDs. (Does anyone know how > to get the IDs of these standard buttons?) Sample code below:
Alternatively, you can follow the lead of examples/user_interfaces/embedding_in_wx4.py which uses a custom toolbar. You can cut the NavigationToolbar2 code from backend_wx.py and remove the bits you don't want. JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users