Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: Re: Grey-ing things out Message-ID: <141752@sun.Eng.Sun.COM> Date: 4 Sep 90 04:37:35 GMT References: <7876@gollum.twg.com> Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 20 In article <7876@gollum.twg.com> david@twg.com (David S. Herron) writes: > Question: If you want to leave something on the screen but grey > it out, how would this be done? What is the object you want to grey out? I will guess based on what you said in your message that you have a form that contains a number of widgets of various assortments and you'd like to grey out *all* of them at the same time. To do this, you should use the Xt function XtSetSensitive(widget, value) where "widget" is a primitive or composite widget and "value" is either True or False. If the widget is a form, then the value is propagated to all the widgets it manages. Note: text widgets's text won't appear grey -- this may or may not be a good thing :-) -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.