#NEWLINE# def on_touch_down( self , touch ) : #NEWLINE# #INDENT# if super ( DropDown , self ) . on_touch_down ( touch ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# if self . collide_point ( * touch . pos ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# if ( self . attach_to and self . attach_to . collide_point ( * self . attach_to . to_widget ( * touch . pos ) ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# if touch . auto_dismiss : #NEWLINE# #INDENT# self . dismiss ( )