ramgopal@encore (T.T. Ramgopal) (01/04/90)
I have, I suppose two simple MOTIF questions. First: ------ I have a the following widget hierarchy toplevelShell | Frame | Pane / | \ / | \ text form form | | MenuBar MenuBar What I want, is to be able to manage and unmanage the text widget and have the window shrink to fit. When the text window is unmanaged, I want the overall window size to be reduced by that much. What currently happens is, the text widget becomes invisible leaving a white space. Also, if I add other child widgets to the pane widgets, I would like the size of the window to grow and not shrink the widgets to fit them all within the original window. Am I using the wrong set of widgets or is there some parameters that I need to set to have this happen? Second ------ I haven't figured out how to use the SelectionBox. I would be grateful if someone can send me a piece of code that uses it. I am not sure how to set up XmNlistItems (of type XmStringList). Thanks, T.T. Ramgopal