Пример #1
0
    def _quit(self, window, event):
        """
		Handle the delete event from the main window.
		Generated by pressing X to close, alt+f4, or right click+close.
		This method in turns calls the state handler to quit.
		@return true
		"""
        Actions.APPLICATION_QUIT()
        return True