#NEWLINE# def button_press_event( widget , event ) : #NEWLINE# #INDENT# if ( ( event . button == 1 ) and ( pixmap is not None ) ) : #NEWLINE# #INDENT# draw_brush ( widget , widget . x , event . y ) #NEWLINE# #UNINDENT# return True