Path: utzoo!attcan!uunet!crdgw1!rpi!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Clarity About Resize Requests Message-ID: <9009271854.AA24388@excess.lcs.mit.edu> Date: 27 Sep 90 18:54:36 GMT References: <1990Sep27.141905.7401@sunrise.com> Sender: root@athena.mit.edu (Wizard A. Root) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 19 > I do not really understand the fashion in which widgets resize > themselves. The widget that wants to grow or shrink asks it's parent, which asks it's parent, and so on, right up to the shell widget. Then the response propagates back down to the original requesting widget. It has to be a cooperative process. > This is pretty much the code I have used. As you can see, I am not > sure whether to change the size with XtSetValues, XtMakeResizeRequest, > or XtResizeWidget. Anyway, none of these changes the size of the widget. XtMakeResizeRequest and XtResizeWidget should be used only by widget writers, that is, in the implementation of widget geometry management. The application writer should use SetValues. Maybe it is not resizing because the shell resource AllowResize is False.