Re: Widget colors under X windows [message #2696 is a reply to message #2619] |
Mon, 15 August 1994 07:59  |
8015
Messages: 52 Registered: November 1993
|
Member |
|
|
In article <32d945$a23@reznor.larc.nasa.gov>,
Joseph M Zawodny <zawodny@arbd0.larc.nasa.gov> wrote:
> I am running IDL V-3.5 (soon to go to V-3.6.1) on a DEC
...
> windows). Is there a way to specify the colors used in IDL widgets
> independently of the colors used by the windowing system in general?
> Perhaps I can set something in my .Xdefaults file?
>
...
> Any help, comments, or general discussion of this matter would
> be of interest to me and perhaps others on the net. As an afterthought,
> it would be nice to get the list and meaning of ALL the IDL (Widget)
> resources that can be specified via the .Xdefaults file.
>
Hi Joseph -
This may interest you. From the "whatsnew.txt" file in the notes
subdirectory of the IDL 3.6 distribution:
RESOURCE_NAME KEYWORD TO WIDGET CREATION FUNCTIONS
--------------------------------------------------
The RESOUCE_NAME keyword is an X Windows only keyword to the
widget creation functions (e.g., WIDGET_BASE, WIDGET_BUTTON, etc.)
that allows you to assign Motif resource names to individual
widgets. Once a widget has been assigned a resource name, you
can change many aspects of its appearance and behavior such as its color
and accelerator key. See the documentation for WIDGET_BASE in the
IDL Reference Guide for details.
This ought to let you muck with the colors and resources of your
widgets to your heart's content.
email replies to schienle@igate1.hac.com until 8015@... stops bouncing.
Mike Schienle Hughes Santa Barbara Research Center
8015@sbsun0010.sbrc.hac.com 75 Coromar Drive, M/S B28/87
Voice: (805)562-7466 Fax: (805)562-7881 Goleta, CA 93117
|
|
|