Re: [gtk-list] Re: Colour allocation with gdk?



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]