Path: utzoo!attcan!sobmips!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: toolkit Message-ID: <8911161643.AA03854@expo.lcs.mit.edu> Date: 16 Nov 89 16:43:10 GMT References: <10431@xanth.cs.odu.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 31 > Why is there no standard toolkit for x window ? There is a standard set of Toolkit Intrinsics, but no standard widget set. This is because one of the things that has make X so big is that we provide "Mechanism not Policy". Once you get up to the widget layer you have to provide policy. This is where the X Consortium disagrees on what is "right" and thus there is no standard. I don't expect one anytime soon. > How to chang the string value of asciiStringWidget ? I use X Toolkit Athena > Widgets. I tried 'XtSetValue' and to modify XtNstring. They did not work. > There is not 'XtTextReplace' in this Toolkit. No XtTextReplace? It is provided with the Text widget in the Athena Widget set, which widget set are you using? > I tried to use Button1MotionMask,Button2MotionMask or Button3MotionMask. I > do not know why they do not work. Only ButtonMotionMask works. Where are you doing this? In the translation table the correct value is Btn1Motion. If you are working directly in Xlib then you need to check the event detail on every motion event. There are only so many masks in a "long" and having one for each mouse button is a bit excessive. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213