#NEWLINE# def scroll_event( self , widget , event ) : #NEWLINE# #INDENT# ( x , y ) = ( event . x ( ) , event . y ( ) ) #NEWLINE# ( self . last_win_x , self . last_win_y ) = ( x , y ) #NEWLINE# ( numDegrees , direction ) = get_scroll_info ( event ) #NEWLINE# self . logger . debug ( ( 'scroll deg=%f direction=%f' % ( numDegrees , y ) ) ) #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 ( 'scroll' , direction , numDegrees , data_x , data_y )