How to draw a single point



Can someone please demonstrate for me the most simple way
to draw a point in a window using gdk_draw_point.
I would rather not use a pixmap, since I really don't need that
for the very simple app Im doing.
I have been experimenting with this for awhile now (mostly
based on code from the GTK+ Tutorial), and the code compiles
and the program runs without errors, but the point just does not
apear in the window.

Thanks alot.

Helgi P.




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