from gtkclassbuilder import from_filename
from gi.repository import Gtk
from os import path

cls = from_filename(path.join(path.dirname(__file__), 'hello.glade'))

w1 = cls()
w2 = cls()


class Handlers(object):

    def goodbye(self, *args, **kwargs):
        Gtk.main_quit()

w1.connect('delete-event', Gtk.main_quit)
w2.connect_signals(Handlers())

w1.show_all()
w2.show_all()

Gtk.main()

@@ -88,16 +88,20 @@
 path%0A%0Acl
+asse
 s = from
@@ -159,16 +159,44 @@
 glade'))
+%0Acls = classes%5B'MainWindow'%5D
 %0A%0Aw1 = c

Update hello example for api changes