Re: [gtk-list] Re: Colour allocation with gdk?
- From: Lyndon Drake <lyndon stat auckland ac nz>
- To: Alexander Kotelnikov <sacha AK2614 spb edu>, GTK+ list <gtk-list redhat com>
- Subject: Re: [gtk-list] Re: Colour allocation with gdk?
- Date: Tue, 12 Jan 1999 13:00:48 +1300
On Tue, Jan 12, 1999 at 02:37:59AM +0300, Alexander Kotelnikov wrote:
> On Tue, 12 Jan 1999, Lyndon Drake wrote:
>
> > I was wondering if anyone can point me to some sample code for handling
> > colour allocation with gdk (other than the short tutorial example). I
>
> Do you mean just, for instance, displaying right color in gtk_drawing_area?
> Then you can look through code that I've posed yesterday answering
> letter about "color in Drawin Area" or something like this.
>
> Just in case you won't find it (if you'll want to) I've attached another
> source: gtk_drawing_area with changing color.
Hi,
Thanks, but there are two problems: gdk_color_alloc is deprecated, and it
doesn't work on pseudocolor or greyscale devices.
Lyndon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]