Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Is there a better way to learn Tk?

by graff (Chancellor)
on May 08, 2009 at 22:20 UTC ( #762960=note: print w/replies, xml ) Need Help??

in reply to Is there a better way to learn Tk?

If the goal is to get acquainted with Perl/Tk in particular, the method that put me well on my way very nicely (oh those many years ago) was to just play with and study the demo program called "widget" that is included in the Tk distro.

It really is a very nifty piece of work -- you can browse lots of different widgets (all the important ones, and a fair number of "special" ones), explore different kinds of options and controls, and use the tool itself to look at and even modify the source code while you're playing with it. Just run "widget" from your shell.

Also, look for and try out Tk apps that have been posted here at PM, for a broader sample of coding styles. (You may have noticed that our own zentara is a master of the Tk arts.) Coincidentally, one of my first posts at the monastery was a "fun with Tk" thing: Tk cryptogram (no, not cryptography) -- in fact it was my own "teach yourself Tk" app.

Replies are listed 'Best First'.
Re^2: Is there a better way to learn Tk?
by pobocks (Chaplain) on May 09, 2009 at 05:47 UTC

    Infinithanks for the pointer to "widget" - that looks insanely helpful.

    for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-09-26 13:42 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (117 votes). Check out past polls.