Re: tackling the packer



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 | +--------------------------------+---------------------------------------+ .