Re: Definition of widget colors (X-Window System) [message #26590] |
Thu, 13 September 2001 06:37 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Benno Puetz (puetz@mpipsykl.mpg.de) writes:
> While I have no problems defining color resources for myself in my
> ~/.Xresources, I was wondering how I could pass my programs to someone
> with - most likely - different or non-existet definitions for these
> resources.
No, colors are--by and large--one of those things that
windows system developers left in charge of each individual
user. That is to say, completely customizable. The programmer
seeking to control them has taken on a thankless and impossible
task that completely goes against the grain of a windows
environment. In fact, it is a throwback to the days of
card decks and paper tape. But that's a topic I'll save for
another day. :-)
> While I succeeded to write new definitions from within my IDL program
> using SPAWN, "xrdb -merge ...", my program, once started, does not seem
> to care about definitions not in place when it was started.
No, I should think not.
> I would appreciate hints at how to make the new resource definitions
> available ... or any other way that would allow (IDL) program-driven
> color specification for widgets.
Here's a suggestion. Write a book laying out your
color theory and see if you can convince anyone to
go along with it. Perhaps you can get volunteer
cooperation if your arguments are compelling enough.
But, I warn you, you are dealing with anarchists. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|