Re: Problem with gdk_pixmap_create_from_data()



"Gordon Durnell" <gdurnell megavolt com> writes:

> Thanks for the pointer.  That was A problem, but apparently not THE problem.
> I changed to a 3-byte color depth and still get the same error.  I suspect
> it may be the bg and fg colors that I'm using.

I looked at your code again and I think you should pass a valid window 
instead of NULL. Try to insert gtk_window_realize (window1) before 
creating the pixmap and use window1->window.


Salut, Sven





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