#NEWLINE# def motion( self , * args ) : #NEWLINE# #INDENT# tvColId = self . treeView . identify_column ( args [ 0 ] . x ) #NEWLINE# tvRowId = self . treeView . identify_row ( args [ 0 ] . y ) #NEWLINE# if ( ( tvColId != self . toolTipColId ) or ( tvRowId != self . toolTipRowId ) ) : #NEWLINE# #INDENT# self . toolTipColId = tvColId #NEWLINE# self . toolTipRowId = tvRowId #NEWLINE# newValue = self . getToolTip ( tvRowId , tvColId ) #NEWLINE# if ( ( newValue is None ) and tvRowId and ( len ( tvRowId ) > 0 ) ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# col = int ( tvColId [ 1 : ] ) #NEWLINE# if ( col == 0 ) : #NEWLINE# #INDENT# newValue = self . treeView . item ( tvRowId , 'text' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# values = self . treeView . item ( tvRowId , 'values' ) #NEWLINE# if ( col <= len ( values ) ) : #NEWLINE# #INDENT# newValue = values [ ( col - 1 ) ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# except ValueError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# self . setToolTip ( self , tvColId )