10000 Glade tutorial branch fixed by WeatherGod · Pull Request #3160 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Glade tutorial branch fixed #3160

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

Merged
merged 14 commits into from
Jun 28, 2014
Prev Previous commit
Next Next commit
Added a Glade GTK3 integration example.
  • Loading branch information
tobias47n9e authored and WeatherGod committed Jun 27, 2014
commit ded521cbbbf47e92ac53b6636379ed1688863c4e
4 changes: 3 additions & 1 deletion examples/user_interfaces/mpl_with_glade_316.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#!/usr/bin/env python3

from gi.repository import Gtk
from gi.repository import Gtk, Gio

from matplotlib.figure import Figure
from matplotlib.axes import Subplot
from numpy import arange, sin, pi
from matplotlib.backends.backend_gtk3agg import FigureCanvasGTK3Agg as FigureCanvas

import sys

class Window1Signals:
def on_window1_destroy(self, widget):
Gtk.main_quit()
Expand Down
0