#NEWLINE# @ staticmethod #NEWLINE# def _unhandled_event_default( event ) : #NEWLINE# #INDENT# '\n        Default unhandled event handler for handling simple scene navigation.\n        ' #NEWLINE# if isinstance ( event , KeyboardEvent ) : #NEWLINE# #INDENT# c = event . key_code #NEWLINE# if ( c in ( ord ( 'X' ) , ord ( 'x' ) , ord ( 'Q' ) , ord ( 'q' ) ) ) : #NEWLINE# #INDENT# raise StopApplication ( 'User terminated app' ) #NEWLINE# #UNINDENT# if ( c in ( ord ( ' ' ) , ord ( '\n' ) ) ) : #NEWLINE# #INDENT# raise NextScene ( )