#NEWLINE# def switch_image( self , widget , res_dict ) : #NEWLINE# #INDENT# chname = list ( res_dict . keys ( ) ) [ 0 ] #NEWLINE# img_dict = res_dict [ chname ] #NEWLINE# imname = list ( img_dict . keys ( ) ) [ 0 ] #NEWLINE# bnch = img_dict [ imname ] #NEWLINE# path = bnch . path #NEWLINE# self . logger . debug ( ( 'chname=%s name=%s path=%s' % ( chname , res_dict , path ) ) ) #NEWLINE# self . fv . switch_name ( chname , imname , path = path , image_future = bnch . image_future )