Widget Colors [message #2385] |
Fri, 24 June 1994 11:19  |
tai
Messages: 14 Registered: June 1994
|
Junior Member |
|
|
Does anyone know how to change the colors of programs using widgets?
Reading black on blue text is bruising my eyes. I suspect this has
something to do with my X11R5 windowing setup, but I can't find any
mention of blue in my .twmrc or .Xdefaults. I guess I'd prefer black
on grey. Thanks.
Alan Tai
|
|
|
Re: Widget colors [message #13861 is a reply to message #2385] |
Tue, 15 December 1998 00:00   |
kashyap
Messages: 26 Registered: April 1993
|
Junior Member |
|
|
I found out that, at least on our system (SunOS 2.5+/CDE) IDL (5.1)
only looks at the .Xdefaults file, and doesn't seem to care about
the .Xresources, even when you do xrdb.. which is very strange
and probably has to do with some quirk of CDE.
Vinay
In article <367572E5.5FBB@bial1.ucsd.edu>,
David Foster <foster@bial1.ucsd.edu> wrote:
> Vinay L. Kashyap wrote:
>>
>> Once upon a time, setting
>> Idl*background: <bgcolor>
>> Idl*foreground: <fgcolor>
>> in $HOME/.Xresources used to allow us to customize the colors of
>> IDL widgets on UNIX/X systems.
>>
>> Apparently, not anymore? Have the resource names changed, or are
>> there other ways to set the colors?
>>
>> Thanks,
>> Vinay
>
> I believe this should still work. Did you remember to use xrdb
> to update the resources?
>
> Dave
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
> David S. Foster Univ. of California, San Diego
> Programmer/Analyst Brain Image Analysis Laboratory
> foster@bial1.ucsd.edu Department of Psychiatry
> (619) 622-5892 8950 Via La Jolla Drive, Suite 2240
> La Jolla, CA 92037
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
--
Vinay
____________________________________________________________ __________________
kashyap@head-cfa.harvard.edu 617 495 7173 [CfA/P-146] 617 496 7173 [F]
|
|
|
|
Re: WIDGET COLORS [message #65648 is a reply to message #2385] |
Fri, 13 March 2009 11:28  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
llo writes:
> How to construct nice IDL multiplataform widgets ?
> There is a way to do that ?
>
> Nice font, nice colors, etc...
You are asking WAY too much now!
Cheers,
David
P.S. Let's just say I've found if you stick to Windows,
your widget programs are almost always happy. :-)
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: WIDGET COLORS [message #65649 is a reply to message #2385] |
Fri, 13 March 2009 11:13  |
natha
Messages: 482 Registered: October 2007
|
Senior Member |
|
|
Ok,
How to construct nice IDL multiplataform widgets ?
There is a way to do that ?
Nice font, nice colors, etc...
|
|
|
Re: WIDGET COLORS [message #65650 is a reply to message #2385] |
Fri, 13 March 2009 10:50  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
llo writes:
> Ok, thank you.
> I don't wanna use this beacause I'll run my widget in Win.. but thank
> you anyway.
>
> By de way, do you know how to describe a nice font ?
> My example was: font='-adobe-helvetica-bold-r-normal--12-*-*-*' and is
> not nice.
Uh, that doesn't look like a windows font. Could
that be your problem? :-)
Choose something in your Windows/Fonts directory.
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: WIDGET COLORS [message #65651 is a reply to message #2385] |
Fri, 13 March 2009 10:37  |
natha
Messages: 482 Registered: October 2007
|
Senior Member |
|
|
Ok, thank you.
I don't wanna use this beacause I'll run my widget in Win.. but thank
you anyway.
By de way, do you know how to describe a nice font ?
My example was: font='-adobe-helvetica-bold-r-normal--12-*-*-*' and is
not nice.
thanks, llo
|
|
|
Re: WIDGET COLORS [message #65652 is a reply to message #2385] |
Fri, 13 March 2009 10:01  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
llo wrote:
> Hi people,
>
> Anybody knows how to change the default widget colors? The IDL
> widgets are so ugly and do something presentable is sometimes
> difficult.
> Anyway, how to change the WIDGET_TEXT background color ? The picture
> showed in the manual is white but my widget_text is grey. It depends
> of the OS ?
>
> Thanks,
> Llo
Yes, the color of the WIDGET_TEXT does depend on the OS. The only way I
know of changing colors, is that on Unix only, to use xdefaults. We use
the following to make the background of a WIDGET_TEXT white:
Idl*vv*XmText*background: white
Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
|
|
|
Re: WIDGET COLORS [message #65655 is a reply to message #2385] |
Fri, 13 March 2009 08:32  |
natha
Messages: 482 Registered: October 2007
|
Senior Member |
|
|
Another question is how to change the widget font.
I used: font='-adobe-helvetica-bold-r-normal--12-*-*-*' but is not a
super nice font.
Anybody can give me a nice font definition?
Thanks
|
|
|