home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!wupost!emory!cs.utk.edu!ornl!jxt
- From: jxt@stc06.ctd.ornl.gov (TOLLIVER J S)
- Subject: Re: How to gray out Text widgets
- Message-ID: <1993Jan5.190841.20675@ornl.gov>
- Sender: usenet@ornl.gov (News poster)
- Reply-To: jxt@stc06.ctd.ornl.gov (TOLLIVER J S)
- Organization: Oak Ridge National Laboratory
- References: <1993Jan4.193412.4644@ornl.gov> <3980@creatures.cs.vt.edu>
- Date: Tue, 5 Jan 1993 19:08:41 GMT
- Lines: 31
-
- > >How does one gray-out an insenstive Text widget?
- >
- >Using Motif 1.2+ ? Then just set XmNsensitive to False. 1.2+ support
- >insensitive visuals for Text and lists.
- >
-
- Grump. I'm stuck at 1.1.x for a while.
-
- > >Do I really have to go to the trouble of changing the foreground and
- >background
- > >colors myself?
- >
- >If you're using 1.2-, yes.
- >
- > >If so, is there anyway to get at the algorithm used to choose
- > >grayed-out colors for other widgets -- Labels, for instance?
- >
- >You can use coloredit (export.lcs.mit.edu) to examine the rgb/hsv/cmy
- >values of the
- >'gray' of the labels and use the same for text greying.
- >
- Actually, they're not really "grayed". Just overlaid with some sort of
- hashed
- pattern. Surely there is a work around of some kind. How can I emulate
- that
- hashed pattern?
-
- Thanks,
- Johnny Tolliver
- Oak Ridge National Laboratory
- jxt@ornl.gov
-