Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!twg.com!david From: david@twg.com (David S. Herron) Newsgroups: comp.windows.x.motif Subject: Re: Grey-ing things out Message-ID: <7892@gollum.twg.com> Date: 4 Sep 90 17:46:57 GMT References: <7876@gollum.twg.com> <141752@sun.Eng.Sun.COM> Reply-To: david@twg.com (David S. Herron) Organization: The Wollongong Group, Palo Alto, CA Lines: 33 In article <141752@sun.Eng.Sun.COM> argv@turnpike.Eng.Sun.COM (Dan Heller) writes: >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. No, I want to grey out things individually. For instance, in one window I have an XmScale which is sometimes active and sometimes not. Whether it is active is selected by the setting of a button elsewhere on the screen. I have two choices -- XtUnmanageChild() the XmScale -- grey it (somehow) If I unmanage it, it goes away. And then, because it's in an XmForm, the screen repositions itself and it looks kinda ugly. Maybe I can be careful with arrangement of objects on the screen so that the repositioning of the screen doesn't look so ugly. Maybe not. "greying" is preferable. It's a widely used metaphor to indicate something which currently isn't available. etc. -- <- David Herron, an MMDF & WIN/MHS guy, <- Formerly: David Herron -- NonResident E-Mail Hack <- <- Sign me up for one "I survived Jaka's Story" T-shirt!