Path: utzoo!attcan!uunet!island!cat From: cat@island.uu.net (Cathleen Greenberg) Newsgroups: comp.windows.x Subject: Re: "reverseVideo" attribute when writing widgets Message-ID: <674@island.uu.net> Date: 4 Apr 89 20:10:58 GMT References: <11712@pasteur.Berkeley.EDU> <8903311648.AA07314@DORA.MIT.EDU> Reply-To: cat@island.uu.net (Cathleen Greenberg) Organization: Island Graphics, Marin County, California Lines: 12 > >In X11R3 a couple of new colors were added, XtDefaultForeground and >XtDefaultBackground. Depending upon the state of the reverse video >flag these strings are converted to BlackPixel() or WhitePixel(). >This should provide the functionality that you desire. > Is there anyway to override this functionality?? It is a double-edged sword -- ie. a bug and a feature. also one other thing to note -- if you set foreground and background colors in your .Xdefaults it causes lots of problems regardless of what the reverse video flag is set to.