comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: fore/background colors of labels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: fore/background colors of labels [message #32829] Thu, 14 November 2002 08:36 Go to next message
David Fanning is currently offline  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 Go to previous message
lyubo is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Object Graphic Slows on resize
Next Topic: Re: idl obj gaphics and opengl - how similar?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:18:06 PDT 2025

Total time taken to generate the page: 0.00510 seconds