#NEWLINE# def on_touch_down( self , touch ) : #NEWLINE# #INDENT# if ( not self . collide_point ( * touch . pos ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if self . disabled : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# if touch . collapse : #NEWLINE# #INDENT# self . collapse = False #NEWLINE# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return super ( AccordionItem , self ) . on_touch_down ( touch )