Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: How can I install Tk perl module in 32-bit operating system and Windows7 ?

by Anonymous Monk
on Nov 05, 2013 at 07:45 UTC ( [id://1061259]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How can I install Tk perl module in 32-bit operating system and Windows7 ?
in thread How can I install Tk perl module in 32-bit operating system and Windows7 ?

Does anyone know of tutorials for converting Tk apllications to Tkx?

See Tcl::pTk

Whatever joy Tk might have brought you, Tkx is sure to take away

Converting one to the other is madness

  • Comment on Re^3: How can I install Tk perl module in 32-bit operating system and Windows7 ?

Replies are listed 'Best First'.
Re^4: How can I install Tk perl module in 32-bit operating system and Windows7 ?
by jellisii2 (Hermit) on Nov 05, 2013 at 13:56 UTC
    In my understanding, the direct access method of Tcl::pTk appears to be functionally similar to Tkx. The goal of Tkx was to just put a thin abstraction layer and allow effectively direct access to Tk from perl. Not having enough experience with Tk either directly or with Perl::Tk, I can't speak to how effective it is.

      ... functionally similar ...

      Its functionally superior but the namespace/syntax changes/inconsistencies/kludges will drive you mad

      I've written many hundreds small less than 100 lines Tk programs, and about 10-20 Tkx ones ... Tkx hurts so much its not funny

      In theory it sounds great, but whatever edge Tk.pm gives you in terms of perlishness/memorability/quickness Tkx just rips it out with the inconsistency

      Tcl::pTk makes it bearable but needs more than Tcl::tkkit

      I stick with Tk

      If I absolutely must have the new Tcl/Tk widgets (which is never) I'll go for Tcl::pTk, but otherwise stick with Tk.pm

      Tkx -- never again voluntarily (only for massive cash)

      Re: TclTk interface with Perl code, is it possible? Re^2: GUI toolkit+designer for the perl newbie

        I agree that Tkx produces a mess-code, even more of a mess - compared to perl/Tk.

        To avoid this mess - I code GUI entirely in TCL and connect it to perl - with having perl/tk syntax with Tcl::Tk - for me this is an ideal balance.

        I code this way 10+ years already and just happy :):)

Log In?
Username:
Password:

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

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

    No recent polls found