Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by jandrew (Chaplain)
on Feb 04, 2013 at 06:29 UTC ( [id://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?

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1016900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-23 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found