Re: fore/background colors of labels [message #32829] |
Thu, 14 November 2002 08:36  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Lyubomir Zagorchev (lzagorch@cs.wright.edu) writes:
> How can I change the foreground and/or background
> colors of a label widget?
If you are on an X-windows system, you can fool around
with the RESOURCE_NAME keyword. If you are on anything
else (or you wish portable code), then I'm afraid you
are SOL.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
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
|
|
|
Re: fore/background colors of labels [message #32886 is a reply to message #32829] |
Fri, 15 November 2002 15:09  |
lyubo
Messages: 34 Registered: March 2002
|
Member |
|
|
As always, thank you David. I guess I am SOL :-)
Let me ask you another quick question. I was trying to print out my object
graphics hierarchy when I saw your example "printwindow.pro". Does it
work with object graphics or it is only for direct graphics?
Why when I send my scene to the printer object everything that gets printed
out looks much smaller than it should be. As I mentioned above I use object
graphics, and I use the default UNITS (pixels) for my window. What do I
need to do in order to print out my scene as it is on the screen?
Thanks again,
Lyubo
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.183d7ef29c0147de989a1c@news.frii.com...
> Lyubomir Zagorchev (lzagorch@cs.wright.edu) writes:
>
>> How can I change the foreground and/or background
>> colors of a label widget?
>
> If you are on an X-windows system, you can fool around
> with the RESOURCE_NAME keyword. If you are on anything
> else (or you wish portable code), then I'm afraid you
> are SOL.
>
> Cheers,
>
> David
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> 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
|
|
|