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

Home » Public Forums » archive » How can I change GUI background?
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
How can I change GUI background? [message #16359] Tue, 20 July 1999 00:00 Go to next message
wendy is currently offline  wendy
Messages: 1
Registered: July 1999
Junior Member
Hi, all:

I want to change my output GUI background to white, how can I do
it?
Thanks.
Re: How can I change GUI background? [message #16398 is a reply to message #16359] Thu, 22 July 1999 00:00 Go to previous message
Mark Elliott is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: supressing messages
Next Topic: Re: The Book

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

Current Time: Wed Oct 08 19:39:38 PDT 2025

Total time taken to generate the page: 0.00483 seconds