Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

in tk entry box, configure of cursor for hovering 1

Status
Not open for further replies.

vsdpsingh

Programmer
Mar 8, 2011
32
IN
In tk entry box, i have good amount of text, but some are internet web adresses.
i had added a tag to them as "hyperlink", but how can i configure cursor, so that on hovering these web addressed should become hand and for rest of the text it should be xterm.

Thanks in advance
 
Try binding the tag to the "enter" event. The syntax is
Code:
$t tab bind $tag <Enter> {%W config -cursor hand2}
$t tab bind $tag <Leave> {%W config -cursor arrow}

or something like that

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top