Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Perl Gtk2 AboutDialog's "set_url_hook()" is Not Working as Expected.by mmartin (Monk) |
on Aug 23, 2013 at 14:40 UTC ( [id://1050679]=note: print w/replies, xml ) | Need Help?? |
Ok... Got it working! So this is what I've found out this morning testing the set_url_hook() function. Seems that whatever is set in "$about_window->set_website($url);" for the $url variable will get passed to the "open_url()" sub which is an argument to the "$about_window->set_url_hook("open_url");" function, which is a subroutine. So with these 2 commands I can now successfully open the URL in a browser when I click on the link: So now it seems everything is working as expected...! Thanks again Crackers, if you hadn't posted your example of the set_url_hook("open_broswer", $url) it probably would have taken me much longer to find that's how the syntax should be for that set_url_hook() Function's Arguments...! So thanks again for the reply, much appreciated! Thanks Again, Matt
In Section
Seekers of Perl Wisdom
|
|