Re: [gtk-list] Drawing in GtkDrawingArea
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: Gtk+ mailing list <gtk-list redhat com>
- Subject: Re: [gtk-list] Drawing in GtkDrawingArea
- Date: Sat, 28 Nov 1998 12:58:38 -0600 (CST)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]