Re: tackling the packer
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Fri, 19 Aug 2005 16:52:08 -0500
Melissa Schrumpf wrote:
Gerald W. Lester wrote:
While someone else has answered your question -- you may want to consider using the grid geometry manager instead of the packer. I suspect you will find it easier to use.
"Easier" depending on purpose. Using [grid], it's easier to layout widgets in, well, a grid. Unfortunately, you have to keep track of column and row numbers.
Actually you don't have to keep track of column and row numbers, you can use relative placement (see the "RELATIVE PLACEMENT" section of the grid man/help page).
Having started with [pack]...
I too started with pack, mostly because it was the only geometry manager available at the time.
Just don't try mixing them at the same level. You can pack things inside of a [grid]ed frame, I had a horrible problem when I accidentally [pack]ed .frame0 and used [grid] on .frame1 ... the window never completed drawing to screen, and pegged the processor load.
Actually you should never try to mix two geometry managers at the same level -- although you can get by with mixing place with either pack or grid.
-- +--------------------------------+---------------------------------------+ | Gerald W. Lester | "The man who fights for his ideals is | | Gerald.Lester@xxxxxxx | the man who is alive." -- Cervantes | +--------------------------------+---------------------------------------+ .
- Follow-Ups:
- Re: tackling the packer
- From: R. T. Wurth
- Re: tackling the packer
- References:
- tackling the packer
- From: k:arel
- Re: tackling the packer
- From: Gerald W. Lester
- Re: tackling the packer
- From: Melissa Schrumpf
- tackling the packer
- Prev by Date: Re: radiobutton behaviour
- Next by Date: Re: sending data between computers
- Previous by thread: Re: tackling the packer
- Next by thread: Re: tackling the packer
- Index(es):