#NEWLINE# def _close_all_windows( self ) : #NEWLINE# #INDENT# ' Closes all open windows.\n\n        Returns True if all windows were closed, False if the user changed\n        their mind ;^)\n\n        ' #NEWLINE# windows = all_closed . windows [ : ] #NEWLINE# windows . reverse ( ) #NEWLINE# for window in windows : #NEWLINE# #INDENT# if ( not window . close ( ) ) : #NEWLINE# #INDENT# all_closed = False #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# all_closed = True #NEWLINE# #UNINDENT# return all_closed