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 
Return to the default flat view Create a new topic Submit Reply
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
[Message index]
 
Read Message
Read Message
Previous Topic: supressing messages
Next Topic: Re: The Book

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

Current Time: Fri Oct 10 06:05:33 PDT 2025

Total time taken to generate the page: 1.51854 seconds