#NEWLINE# def color_selected( self , event ) : #NEWLINE# #INDENT# self . _target_canvas . focus_set ( ) #NEWLINE# if ( ( event . _selected_region is not None ) and ( self . _selected_region != CANVAS_BACKGROUND ) ) : #NEWLINE# #INDENT# self . _target_canvas . itemconfig ( self . _selected_region , fill = self . _fill_color_combo . get ( ) )