Drawing in GtkDrawingArea



  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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]