>I have my DrawingArea on a ViewPort on a ScrolledWindow on a pane on a noteboo >k on a table..... like the song... > >I couldnt use any function that gets a GdkWindow as a parameter. As in the scr >ibble example, the Area is just under the Window, and it works. But i had the >DrawingArea somewhere else, and area->window sent messages like: > >Gdk-CRITICAL **: file gdkdraw.c: line 42 (gdk_draw_point): assertion `drawable > != NULL' failed.
at what point in your code are you trying to draw on the DrawingArea? i hope, given all the messages about this, that its within an expose_event handler. >As i read, some widgets does not have its own window (but the example worked u >sing the Area's window, widget-window), and they draw on its parent window. >I thought maybe DrawingArea is one such widget (though doesnt sound like it), >and since the example works, i used the main window's window as the parameter >to gdk_pixmap_new and other functions. It works. it has its own window. --p _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
