-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTK-Glade tutorial is out of date #3082
Comments
Maybe we want to just drop this section of the docs for 1.4.0 and put it back when we get it fixed? |
It might still work with Glade2.x and older versions of GTK. I just haven't tried that out. I have a working Python3-Glade3 application, but I just can't figure out how to place the matplotlib-widget into it. |
This it what I have so far. I can open a GTK-3.10 window by running a Python 3 program that opens a Glade 3.16.1-file. My python 3 file:
and my glade file (name: "mpl_with_glade_simple.glade"):
|
I think I got it to work: #3088 |
The tutorial that puts a Matplotlib widget into a GTK application using the Glade interface designer, is out of date. The version used in the tutorial is Glade 2.x, and that file doesn't work anymore since Glade 3.x. It would be good to have a working tutorial for Glade 3.16 using GTK3.x (3.10 would be ideal), and Python 3.
I am trying to build a working example myself, but I just started with this kind of programming. So if anybody beats me to it, it would also be great and appreciated.
Python: https://github.com/matplotlib/matplotlib/blob/master/examples/user_interfaces/mpl_with_glade.py
Glade: https://github.com/matplotlib/matplotlib/blob/master/examples/user_interfaces/mpl_with_glade.glade
The text was updated successfully, but these errors were encountered: