def on_quit_activate(self, button) : global vthread sr_py.terminate(); time.sleep(.5) sys.exit(0)
def menu_item_quit(event) : print "bye bye" sr_py.terminate(); time.sleep(.5) sys.exit(0)
def quit(self): sr_py.terminate() self.close()