Hello

While working on my multi-figure-backend I found an error in DialogLineprops

If you transform the example
matplotlib/examples/user_interfaces/lineprops_dialog_gtk.py
to use the Gtk3 backend you get with a nice error

Traceback (most recent call last):
  File 
"/home/fariza/workspace/matplotlib/examples/user_interfaces/lineprops_dialog_gtk.py",
line 21, in <module>
    dlg = DialogLineprops([l1,l2])
  File 
"/home/fariza/workspace/matplotlib/lib/matplotlib/backends/backend_gtk3.py",
line 711, in __init__
    import Gtk.glade
ImportError: No module named Gtk.glade

The current implementation of backend_gtk3 requires libglade for DialogLineprops
but if I am not wrong libglade is being replaced by Gtk.Builder.

If the solution is to move to Gtk.Builder
The transition involves creating a new glade file and reworking
DialogLineprops to use the new api.

Just for my information,
When was this DialogLineprops in Gtk3 introduced?
I just want to know if I can rework it to accept figures instead of
lines, to be compatible with my multi-figure-backend.
Or if it has a large userbase and needs to be updated as it is.

Thanks
Federico

-- 
Y yo que culpa tengo de que ellas se crean todo lo que yo les digo?

-- Antonio Alducin --

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to