[10504] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Drawing in GtkDrawingArea

daemon@ATHENA.MIT.EDU (Havoc Pennington)
Sat Nov 28 13:59:47 1998

Date: Sat, 28 Nov 1998 12:58:38 -0600 (CST)
From: Havoc Pennington <rhpennin@midway.uchicago.edu>
To: Gtk+ mailing list <gtk-list@redhat.com>
In-Reply-To: <365FD2FD.6A22C991@jps.net>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


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?

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

Havoc


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post