Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Tk: pack, grid or place?

by g0n (Priest)
on May 13, 2005 at 09:13 UTC ( #456636=note: print w/ replies, xml ) Need Help??


in reply to Tk: pack, grid or place?

FWIW: when I first started using Tk, I found pack really easy to use. As time wore on and I started doing more complex things that required a greater degree of control over the exact placement of widgets within a form, I started to find pack very limited, and moved to mostly using grid, and only using pack for quick little things. I don't think I ever used place.

The issue is, when you come to do ammend your app in future, will the geometry manager you have used give you sufficient control over placement? If you're happy that place will, I see no reason not to carry on using it.

Update: AFAIK, the only thing that is likely to bite you is the varying behaviours of the geometry managers when you resize a window. As long as you know what to expect, it shouldn't be a problem.

--------------------------------------------------------------

g0n, backpropagated monk


Comment on Re: Tk: pack, grid or place?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2014-09-22 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (178 votes), past polls