Re: [gtk-list] How to draw a single point



Helgi Petursson, dans le message (.gtk.general:1747), a écrit :
> 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.

You probably draw the point before the window is visible, or something like
that. First, you must ensure the window isn't erased by Gtk. Then, you must
plot at a time you're shure the window is maped and visible, maybe in an
expose_event.



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