Path: utzoo!attcan!uunet!ogicse!ucsd!sdd.hp.com!hp-pcd!hpcvlx!ben From: ben@hpcvlx.cv.hp.com (Benjamin Ellsworth) Newsgroups: comp.windows.x Subject: Re: Motif DrawingArea widget seems to ignore XmNresizePolicy widget? Message-ID: <100920224@hpcvlx.cv.hp.com> Date: 5 Jun 90 17:25:31 GMT References: <9005312154.AA08275@bach.cs.byu.edu> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 27 > ...[setting resize policy to XmRESIZE_NONE]... I assume this means > that the drawing area widget will ignore resize requests from its > parents. Either I have misunderstood the short two word explaination > for XmRESIZE_NONE, or else there is a bug somewhere. ... You have misunderstood. It is absolutely against The Rules(tm) for a widget to ignore resize requests from its parent. Keep this in mind when trying to unravel the gordian knot of geometry management. Resize policy controls whether or not the drawing area (or other sub-class of BulletinBoard) will respond to changes in its children with geometry requests of its parent. If resize policy is none, the widget never makes a request due to changes in its children. If the policy is grow, the widget only makes a request if changes in its children cause the drawing area to grow. If the policy is any, the drawing area will make a geometry request any time changes in its children cause the drawing area to have a new optimum size. ----------------------------------------------------------------------- Benjamin Ellsworth | ben@cv.hp.com | INTERNET Hewlett-Packard Company | {backbone}!hplabs!hp-pcd!ben | UUCP 1000 N.E. Circle | (USA) (503) 750-4980 | FAX Corvallis, OR 97330 | (USA) (503) 757-2000 | VOICE ----------------------------------------------------------------------- All relevant disclaimers apply. -----------------------------------------------------------------------