in reply to Specifying the Position of widget
There are 3 geometry managers in Tk: pack, place and grid. The most common is pack.
A "frame" is like a sub-area of a window. You can "pack" things into frames and frames into windows or other frames. To make 2 widgets appear above one another, make a frame, then "pack" the 2 widgets into that frame. A "Frame" is like a sub-set rectangle of a window but without visible borders.
A "gui builder" is not necessary with Tk. The easy way is to draw by hand what you are trying to create. Use pencil and paper! Draw a line around each widget. Then draw the frames. This mainly has to do with the vertical placement of groups of widgets along a "row".
There are other GUI's that I've heard about for Perl. But Tk works well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Specifying the Position of widget
by GrandFather (Saint) on Mar 30, 2009 at 22:06 UTC | |
by Marshall (Canon) on Mar 31, 2009 at 00:43 UTC |