[comp.windows.x] Xview Geometry Management

babu@ctc.fmc.COM (Babu Srinivasan) (05/03/91)

I would like to get the functionality of a Athena box widget using
XView. 

My application displays several panels of varying size. In each panel,
there are several PANEL_TEXT panel items. I cannot show all the panels
at the same time; so I have menu through which I can destroy panels
and create them. When I destroy a panel, the space occupied by the
panel is blank which is fine but when I create the same panel again,
XView increases the frame size and puts the panel below the blank
space.

Also, if I destroy a panel and replace it with a panel which has a
longer width, it overlaps with the next panel. 

I tried frame_fit_all(frame). It doesn't work. 

Is there a function which will perform geometry management when xview
objects are added and removed at run time?

-Babu Srinivasan
babu@ctc.fmc.com