Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!rutgers!modus!simm!yachaya!oliver!newsuser From: newsuser@oliver.SUBLINK.ORG (Ugo Cei) Newsgroups: comp.windows.open-look Subject: Re: Problems with OLIT and the Resource Manager Message-ID: <922@oliver.SUBLINK.ORG> Date: 21 Mar 91 23:02:12 GMT References: <1991Mar19.012032.25951@cbnewsm.att.com> Reply-To: cei@ipvvis.unipv.it Organization: Oliver, Pavia, Italy Lines: 40 mls@cbnewsm.att.com (mike.siemon) writes: >> Moreover, my buttons are contained >> in a ControlArea widget, for which I cannot set neither the foreground >> nor the background, and I am thus forced to have it white. >Hmmm, this seems strange since that should work. One bug, >though, is the class name for the ControlArea widget is >Control, not ControlArea. This is contrary to both the >documentation and the suggested Xt conventions. Thank you very much, this was indeed the reason for my not being able to change it. I have changed my resource file to use Control instead of ControlArea and now I can set its background, but only if I specify: appl*Control*background: red whereas if I say: appl*Control.background: red this has no effect (???). This poses a problem, since my ControlArea widget contains some OblongButtons, whose background is changed to red even if I say: appl*OblongButton.background: blue I thought that this second specification should override the former, since it seems more specific, but I am not sure. However, I am still trying to have a red control area with blue buttons while I only manage to get either a white control area with blue buttons or a red area with red buttons. Any help ? (And please don't flame me for my color choices, they are only for exemplificative purposes.) -- **************** | Ugo Cei | SUBLINK: newsuser@oliver.sublink.org * OLIVER * | Via Colombo 7 | INTERNET: cei@ipvvis.unipv.it **************** | 27100 Pavia ITALY | "Real Programs Dump Core"