home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsm!jmjm
- From: jmjm@cbnewsm.cb.att.com (joseph.m.miklewicz)
- Subject: XView Toolkit and X Resource DAtabase
- Organization: AT&T
- Distribution: usa
- Date: Wed, 30 Dec 1992 20:44:51 GMT
- Message-ID: <1992Dec30.204451.26595@cbnewsm.cb.att.com>
- Lines: 41
-
- I am running Openwindows 3.0 on SunOs 4.1-GFX on a sun4 platform with X
- Windows version 11 release 3. I am pretty new at the X window stuff. I
- have an application that was built using DevGuide, the XView toolkit.
- What I want to be able to do is to the foreground and background colors
- of certain instances of window, specifically a couple of control windows
- contained in the application. I also want to be able to set the
- foreground and background colors of all of the other windows in the
- application to something other than the fg and bg colors of the above
- two control windows.
-
-
- In the toolkit, I specified the fg and bg colors for each window to
- foreground and background, respectively. I can then use:
-
- programname -fg color1 -bg color2
-
- to set the fg and bg colors for ALL the windows. I don't seem to be able
- to get this to happen by added something like:
-
- programname*Foreground: color1
- programname*Background: color2
-
- or
-
- programname*foreground: color1
- programname*background: color2
-
- to my resource database with xrdb. Do I need to add something to the
- code generated by XView to get it to check the resource database????
-
- Also, I'm very confused about what to use to specify a specific Class or
- instance, e.g. one control window or one menu button. I just read in the
- X Toolkit Intrinsics Programming Manual that XView doesn't use Xt!!??
- Does that mean that the only resources I have access to are the ones
- listed in Section 6 of the XView Reference Manual? ( Please say it ain't
- so!!! ) If not then how do I go about doing so? Any info will be
- appreciated. Please respond via e-mail.
-
- Thanks
- --
- Joe Miklewicz 908-949-3061 jmjm@hogpa.att.com
-