Re: [gtk-list] Re: Drawing in GtkDrawingArea



Havoc Pennington wrote:
On Sat, 28 Nov 1998, Marsel Osipov wrote:
>
> I have done  gdk_gc_set_foreground(gc, color) and
> gdk_gc_set_background(gc, color) where the color is the color that I
> want the pixel to be.  No result.
>

Did you allocate the color?
 

Yes.

Check out the tutorial and FAQ on color allocation, and the Scribble
example in the tutorial.
 

I did. I actually started with it. and it still does not work.

Havoc

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