Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Changing Widgets Message-ID: <9007061449.AA26255@expo.lcs.mit.edu> Date: 6 Jul 90 14:49:49 GMT References: <15514@cit-vax.Caltech.Edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 21 > On the other hand, why can't I do the following: > WidgetSet(someTextWidget, > XtNeditType, XttextRead, This should work in the R4 Athena Text widget, the behavior of the Athena Text widget was somewhat broken in proir releases, and several resource were read only, because the code to make them writable had not been implemented correctly. > XtNborderWidth, (Dimension) 0, NULL); This is most likely happening because the parent of the Text widget is disallowing geometry requests. Since a change in the border width would change the geometry of the widget, the parent has the final say as to whether or not this setvalues request will succeed. Several of the Athena composite widgets disallow geometry changes of their children by default, but have a resource that will allow geometry changes to succeed it you want that behavior. Chris D. Peterson