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

Home » Public Forums » archive » Re: color of widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: color of widgets [message #6854 is a reply to message #6848] Sun, 25 August 1996 00:00 Go to previous message
Peter Mason is currently offline  Peter Mason
Messages: 145
Registered: June 1996
Senior Member
On Thu, 22 Aug 1996, Tgreve wrote:
> Does anyone know how to change the light blue color of the widgets into
> something else...(anything!)?

You can get at this sort of stuff on X-Windows platforms via the RESOURCE_NAME
switch in the widget creation routines. There's an example in the docs under
WIDGET_BASE -> RESOURCE_NAME. (The feature also works in other widget
creation routines.)
There is a down-side to using this feature along with an 8-bit display
and a shared colormap (a common setup). The colours you request will be
reserved, leaving you with less for your graphics. (And quite a few
colours can be reserved, even if you modify just one background colour -
along with the background, new colours appear to be reserved for the widget
shading etc.)

Peter Mason
[Message index]
 
Read Message
Read Message
Previous Topic: Sorry: I had to try it!
Next Topic: IDL data grid?

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

Current Time: Thu Oct 09 11:02:28 PDT 2025

Total time taken to generate the page: 1.68116 seconds