#NEWLINE# def motion_notify_event( self , event ) : #NEWLINE# #INDENT# button = self . _button #NEWLINE# ( x , y ) = ( event . x , event . y ) #NEWLINE# ( self . last_win_x , self . last_win_y ) = ( x , y ) #NEWLINE# self . logger . debug ( ( 'motion event at %dx%d, button=%x' % ( x , y , event ) ) ) #NEWLINE# ( data_x , data_y ) = self . get_data_xy ( x , y ) #NEWLINE# ( self . last_data_x , self . last_data_y ) = ( data_x , data_y ) #NEWLINE# return self . make_ui_callback ( 'motion' , button , data_x , data_y )