def tutorial(self,widget): tutorial_window = Tutorial() tutorial_window.connect("delete-event", Gtk.main) tutorial_window.show_all()