
Adjustable window height/width using placer?
I am wondering if it is possible to adjust the height and width settings of
a widget (in my case a frame) that uses the place geometry manager *without*
using -relheight or -relwidth. My problem is that I am trying to put a frame
with a raised border inside of another frame. The raised frame has to be
placed with a y offset (calculated at the time of placemant). I need the
raised frame to occupy the entire width of its container as well as all of the
vertical space below the point of placement. However, using the -relheight 1.0
option to place, the bottom border of my raised frame is not displayed (because
-relheight 1.0 causes the raised frame to have the same y dimension as its
container, and there is no room to display this). Using a fractional relheight
is no good, because then, when I resize the main window I see part of the frame
containing my raised frame.
Does anyone have any suggestions as to how to do this? I could probably
calculate the proper height every time the window is resized, but I don't know
what command to bind such a calculation to.
Thanks for the help!
Ernie Pistor