Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
w.on_destroyed(lambda x: etk.main_quit())
w.show_all()exit.on_clicked(lambda x: etk.main_quit())def quit(obj):
etk.main_quit()
w.on_destroyed(quit)w.on_destroyed(lambda x: etk.main_quit())
w.show_all()def quit(obj):
etk.main_quit()
w.on_destroyed(quit)w.on_destroyed(lambda x: etk.main_quit())
w.show_all()def on_destroyed(obj):
etk.main_quit()
w.connect("destroyed", on_destroyed)def on_destroyed(obj):
etk.main_quit()
w.connect("destroyed", on_destroyed)w.on_destroyed(lambda x: etk.main_quit())