On Mon, Feb 13, 2006 at 07:43:40PM +0100, Martin B?hr wrote:
separately, and then created the GTK.Pixmap from the GDK.Pixmap and GDK.Bitmap, then used the GDK.Pixmap and GDK.Bitmap for the set_icon() function, and it worked.
actually, the splitting up is not what makes it work, but adding a GDK.Bitmap is. i don't do that in my code. (because the docs don't explain how or why that would be needed)
there is another difference: vb->pack_start(GTK.Pixmap(px,bmp),0,0,0);
aparently the image needs to be added not only as a GDK.Pixmap to set_icon(), but also as a GTK.Pixmap to the window itself. no idea why that is.
greetings, martin.