code: def on_window1_destroy(self, widget):
      Gtk.main_quit()
  
file_path: matplotlib/galleries/examples/user_interfaces/mpl_with_glade3_sgskip.py
imports: from pathlib import Path
  import gi
  from gi.repository import Gtk
  import numpy
  from matplotlib.backends.backend_gtk3agg import FigureCanvasGTK3Agg
  from matplotlib.figure import Figure
label_desc: Use image node_id 1 for calling the Window1Signals obj's underlying member method code with example usage: obj.on_window1_destroy(widget) without return types