From: Abraham S. <ab...@cn...> - 2005-09-18 20:47:34
|
Currently matplotlib already draws its widgets on the canvas, so this would allow a method to instead use native widgets in place of the matplotlib widgets when possible. Using native widgets has the advantage of response time and having a larger library at one's disposal. Even without the mapping of matplotlib->native widgets, it can be useful to easily put more controls to allow the plot to be altered (e.g. playing a movie, rerunning a sim, etc.) This can also be accomplished (at least with GTK) by adding another toolbar, but isn't always optimal. Is there an easy method to place widgets outside of the figure widget? Also, does this mean that matplotlib widgets should also not be drawn on the canvas? I checked on the link you gave, and it appears the problem occurs when scrolling is involved. Currently with how things are done, I don't think this will happen. Abe Steve Chaplin wrote: >On Wed, 2005-09-14 at 20:32 -0700, John Hunter wrote: > > >> OK, great. Steve could you take a look at this when you get a >> minute >> and give some feedback about whether you think this is a god >> idea. >> >> > >The patch works OK when I tried it, and the example displayed a button >in the FigureCanvas. How is it extremely useful to place a widget on top >of a FigureCanvas? > >I think a figure widget should just show figures, extra widgets can >always be placed outside the figure widget. >Gtk.DrawingArea is a simple, fast widget. Gtk.Layout (as used by >GnomeCanvas) is more complicated and has a higher overhead. > >This week I read that the widget item in gnome-canvas does not work very >well >http://blogs.gnome.org/view/alexl/2005/09/14/0 > >Steve > >Send instant messages to your online friends http://au.messenger.yahoo.com > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Matplotlib-devel mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > |