I was doing some tests on it.

I have my DrawingArea on a ViewPort on a ScrolledWindow on a pane on a notebook on a 
table..... like the song...

I couldnt use any function that gets a GdkWindow as a parameter. As in the scribble 
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.

As i read, some widgets does not have its own window (but the example worked using 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.

Though i want to know whether i did right, or if i did a stupid thing and what would 
have been the right one?

-- 
ICQ: 15605359 Bicho
                                  =^..^=
First, they ignore you. Then they laugh at you. Then they fight you. Then you win. 
Mahatma Gandhi.
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
恋にししょうなし。恋はしあんの他。
アン アン アン とっても大好き

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

Reply via email to