|
Re: How can I change GUI background? [message #16398 is a reply to message #16359] |
Thu, 22 July 1999 00:00  |
Mark Elliott
Messages: 10 Registered: February 1998
|
Junior Member |
|
|
wendy wrote:
>
> Hi, all:
>
> I want to change my output GUI background to white, how can I do
> it?
> Thanks.
Wendy,
Here's what I did. Probably only useful under UNIX.
1) edit your .Xdefaults file, or
$IDLDIR/resource/X11/lib/X11/app-defaults
if you want the change to be system wide. Add the line:
(Note: "xxx" should be changed to whatever you call your program)
Idl*xxx*background: #ffffffffffff
2) In your IDL code, add this keyword statement to the widget_base()
call that makes your main widget window.
base = widget_base(RESOURCE_NAME='xxx',...)
That should do it. If you change #ffffffffffff to other RGB hex codes,
you'll
get other background colors.
--
Mark Elliott |
Dept of Radiology | Voice: (215) 898-9357
University of Pennsylvania | FAX : (215) 573-2113
Philadelphia, PA 19104 USA | Email: mark@mail.mmrrcc.upenn.edu
|
|
|