Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: Where is Perl/Tk? is offline?

by jandrew (Chaplain)
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? is offline?
in thread Where is Perl/Tk? 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? is offline?

Replies are listed 'Best First'.
Re^4: Where is Perl/Tk? 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016900]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2018-04-21 08:15 GMT
Find Nodes?
    Voting Booth?