Re: Problem with gdk_pixmap_create_from_data()
- From: Sven Neumann <sven gimp org>
- To: "Gordon Durnell" <gdurnell megavolt com>
- Cc: <gtk-list gnome org>
- Subject: Re: Problem with gdk_pixmap_create_from_data()
- Date: 16 Feb 2001 15:55:53 +0100
"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]