Re: [gtk-list] GdkColor and styles



The first field in a GdkColor is the pixel field which is
probably being initialized with a gdk_color_alloc(). So,
you see it initialized to 0 because GDK looks it
up for you, based on the next 3 fields, which are the Red, Green
and Blue components of the color you are specifying.

HTH,
Donna

> 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
>
>
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]