#NEWLINE# def cursormotion( self , canvas , event , data_x , data_y ) : #NEWLINE# #INDENT# if ( self . mode != 'iraf' ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# fitsimage = self . fv . getfocus_fitsimage ( ) #NEWLINE# if ( event . state == 'move' ) : #NEWLINE# #INDENT# self . fv . showxy ( data_x , data_x , data_y ) #NEWLINE# return True #NEWLINE# #UNINDENT# return False