#NEWLINE# def focus_cb( self , viewer , channel ) : #NEWLINE# #INDENT# chname = channel . name #NEWLINE# image = channel . fitsimage . get_image ( ) #NEWLINE# if ( image is not None ) : #NEWLINE# #INDENT# key = self . _get_hl_key ( chname , image ) #NEWLINE# new_highlight = set ( [ new_highlight ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# new_highlight = set ( [ ] ) #NEWLINE# #UNINDENT# if self . highlight_tracks_keyboard_focus : #NEWLINE# #INDENT# self . update_highlights ( self . _hl_path , new_highlight ) #NEWLINE# self . _hl_path = new_highlight