#NEWLINE# def save_selection_to_file( self , filename , * l ) : #NEWLINE# #INDENT# if ( not self . selected_count ) : #NEWLINE# #INDENT# self . recognizer . export_gesture ( filename = filename ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# tmpgdb = Recognizer ( ) #NEWLINE# for i in self . ids . gesture_list . children : #NEWLINE# #INDENT# if ( i . ids . select . state == 'down' ) : #NEWLINE# #INDENT# for g in i . gesture_list : #NEWLINE# #INDENT# tmpgdb . db . append ( g ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# tmpgdb . export_gesture ( filename = filename )