home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!snorkelwacker.mit.edu!ai-lab!rice-chex!gillett
- From: gillett@rice-chex.ai.mit.edu (Walter E. Gillett)
- Newsgroups: comp.windows.open-look
- Subject: How do I make an item look inactive but keep it active in XView or LispView?
- Keywords: n
- Message-ID: <27540@life.ai.mit.edu>
- Date: 4 Sep 92 17:57:49 GMT
- Sender: news@ai.mit.edu
- Organization: MIT Artificial Intelligence Lab
- Lines: 18
-
- Hi, Folks
- I'm trying to make, among other things, a tristate check box. I'd like the
- box to toggle between on, off, and inactive (or stippled out). In Xt I'd just
- set the widget's backgroundPixmap to an Xmu stipple pixmap. How do I do this
- in XView (or, even better, in LispView)?
-
- My reason for doing this is that I have an editor for a group of objects,
- and I want the user to be able to change a subset of the fields of these objects
- without effecting the other fields. So only the active-looking items will
- actually cause the fields in the edited objects to change. I intend to apply
- this technique to other sorts of items like text type-ins and scrolling lists as
- well. Is there a better way (short of having a "field will change" check-box
- next to every item in the editor) of doing this?
-
- Thanks in advance for any help you can offer.
- ---------------------------------------------------------------
- Joe Shapiro (NOT Walter Gillett, though I'm using his account!)
- Please send replies to: joe@ConSolve.com
-