Re: [gtk-list] GdkColor and styles
- From: Rob Huffstedtler <rob bagpipe com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] GdkColor and styles
- Date: Sat, 11 Dec 1999 08:24:03 -0600 (CST)
I think you need to use base instead of bg. That was the case for me.
I have no idea why.
On Sat, 11 Dec 1999, Matthew D Allen
wrote:
>
> I've been reading back through Harlow and looking at style examples - i've
> got everything coded, but there are a few things that refuse to work. For
> example, if I set the background color (in some_style->bg[1..5]) to an
> off-white color, what usually results is a very whitish color where you
> can only see the actual color difference on the borders of widgets where
> there is mostly a horizontal divider.
>
> Example: Using GdkColor {0, 0xffff, 0xf5f5, 0xeeee} (translated from HTML
> color #FFF5EE, hopefully the translation is right) the result is a very
> much white background, but borders that have a tinge of "Seashell" which
> is what the color is supposed to be.
>
> What's the first field for in the GdkColor? Is it intensity? I've only
> ever seen code examples where that value is 0. Is there something there
> that I can play with? I've been primarily playing with the gimp, filling
> with certain values, grabbing their hex numbers and inserting them into
> the app. This never works right though same problem as above.
>
> Anybody have any suggestions?
>
> David
>
> http://opop.nols.com/ Free Software Development
> ==========================================================================
> Der Horizont vieler Menschen ist ein Kreis mit Radius Null -- und das
> nennen sie ihren Standpunkt.
> ==========================================================================
> perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Rob Huffstedtler Please visit Linux University
(931) 596-3560 www.linuxuniversity.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]