Re: GdkError !!
- From: Paul Barton-Davis <pbd Op Net>
- To: gtk-list gnome org
- Subject: Re: GdkError !!
- Date: Wed, 15 Nov 2000 16:20:14 -0500
>It means you are calling gdk_pixmap_new() without providing a window
>or colormap. This means GTK will assume the default visual/colormap,
>which may not be correct for the window you end up drawing the pixmap
>to.
>
>The way to solve it is to pass in the window or colormap you want to
>gdk_pixmap_create_from_xpm() or gdk_pixmap_colormap_create_from_xpm().
is this going to be "fixed" in the new GTK+ ? it seems like such a
common question, and the "obvious" usage of gdk_pixmap_new() breaks so
often that it seems as if the functions should be renamed so that the
colormap-ish versions are the default.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]