accessing tree nodes



hi
I am using a Bwidget tree. can any one tell me how to get the text
displayed on each node when corresponding node is clicked.

.