Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: RFC: Learning Perl/Tk

by zentara (Archbishop)
on Aug 08, 2011 at 18:22 UTC ( #919300=note: print w/ replies, xml ) Need Help??


in reply to RFC: Learning Perl/Tk

5. The last line is mandatory Tk programs. It loops through the code and invokes callback responses.

You left out the "in" before Tk. Also since it is so important to a new GUI programmer to understand that they are dealing with a hidden eventloop, not just some linear code, I think you should emphasize the importance of it more. Some concepts to add:

The MainLoop is tied to the Mainwindow. Kill the loop, kill the window.

Never use sleep in a gui program because it will put the loop to sleep and make the whole window unresponsive.

Other typos: but you knew knew that , Frames are very simple widgets. They are used as a type of border should be "Frames are very simple container widgets; they act as a container for other widgets";

Besides that, you switched to the grid packing manager, from pack, and don't explain it.

Uh.. my eyes are strained already. :-) The last thing I will mention, is you make no mention of the Tk "widget" program, which shows all the widgets in action.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh


Comment on Re: RFC: Learning Perl/Tk
Replies are listed 'Best First'.
Re^2: RFC: Learning Perl/Tk
by perl.j (Pilgrim) on Aug 08, 2011 at 18:44 UTC
    Amazing feedback. Thank You so much. I will make the changes.
    --perl.j

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2015-07-29 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls