Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Where is Perl/Tk? bribes.org is offline?

by jandrew (Hermit)
on Feb 04, 2013 at 06:29 UTC ( #1016900=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Where is Perl/Tk? bribes.org is offline?
in thread Where is Perl/Tk? bribes.org is offline?

Tk and Tkx are both built on Tcl but the interfaces are different. Tkx uses a mildly more perlish interface.

I've never translated Tk to Tkx but my first suggestion would be to go to the top of the script and change 'use Tk;' to 'use Tkx;' when you have Tkx installed and run the script to see what breaks. You can look up the section that is broken and convert to the new code here I think some of the old Tk style still works because not all Tcl elements are built as widgets and you still have to call them in the Tk way. I'm just not sure if having a widget in Tkx excludes the old Tk syntax.


Comment on Re^3: Where is Perl/Tk? bribes.org is offline?
Re^4: Where is Perl/Tk? bribes.org is offline?
by Anonymous Monk on Feb 04, 2013 at 06:51 UTC
    No no no no no no. Use Tcl::pTk, Tkx is significantly different from perl/Tk

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-10-01 23:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (41 votes), past polls