Link to home
Start Free TrialLog in
Avatar of jhurst
jhurst

asked on

Want to make something that looks like a link in perl/tk

I have a perl app that use Tk as its interface.  It works well and I am very happy with it.  I would like to add one line to it which would be a link to a web site so that I can provide more info,

I would like to have a line of text that looks like a link, that is, it should be blue and underlined and when clicked should invoke a sub so that I can popup the web browser window required.  I know how to popup the web browser so all I am looking for is how to make Prt/Tk create a line that looks like a URL and that will invoke my sub

Please provide a short example
Avatar of Carl Bohman
Carl Bohman
Flag of United States of America image

This solution seems viable, but I haven't tested it:
http://www.perlmonks.org/?node_id=667638
Avatar of jhurst
jhurst

ASKER

It sure does display what I want.  But how do I make it clickable?
ASKER CERTIFIED SOLUTION
Avatar of Carl Bohman
Carl Bohman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial