[10500] in The GTK GIMP ToolKit mailing list archive

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

[gtk-list] Drawing in GtkDrawingArea

daemon@ATHENA.MIT.EDU (Marsel Osipov)
Sat Nov 28 05:40:00 1998

Date: Sat, 28 Nov 1998 02:39:58 -0800
From: Marsel Osipov <virtuoso@jps.net>
To: Gtk+ mailing list <gtk-list@redhat.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

  Hello.
    How would I draw a pixel x, y, and color onto GtkDrawingArea?  I try
to use gdk_draw_point(drawing_area->window, gc, x, y); the drawing area
does not display anything.

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.

Thank you
Marsel Osipov

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


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