error message: window != NULL - what's up?



I create a drawing area w/ gtk_drawing_area_new and try to draw into it
(actually - obtain a gc) after a call to gtk_widget_show. GTK+ catches a
core dump. How can I draw into a widget before the whole window of the
app gets realized?

Thanks!
Nathan



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