Giaslas Georgios <[EMAIL PROTECTED]> writes:
> i think the problem is that you should call
> gtk_widget_realize(drawing_area);
> before you try to paint on it (with the function mygrid).
>

That won't work; the drawing area has to be visible in addition to
realized. 
 
> alternatively, you should first make the drawing area visibe and then
> call the function mygrid();
> 

This is the right thing; you can't draw until you get your first
expose_event.

Woo-Sick: read the "scribble" example in the GTK tutorial.

Havoc

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to