The viztip module allows you to assign a
tooltip attribute to any node object that contains the tooltip text. Then you just need to create an instance of the viztip.ToolTip object and it will automatically display an on-screen tooltip when the mouse is over the node. Here is a small sample script:
Code:
import viz
viz.go()
viz.add('tut_ground.wrl')
#Create models with tooltip text
ball1 = viz.add('ball.wrl',pos=(-2,1,5))
ball1.tooltip = 'Ball 1'
ball2 = viz.add('ball.wrl',pos=(0,1,5))
ball2.tooltip = 'Ball 2'
ball3 = viz.add('ball.wrl',pos=(2,1,5))
ball3.tooltip = 'Ball 3'
#Create a tool tip object
import viztip
tip = viztip.ToolTip()