Drawable and Colormap question...!!
- From: Kumar Siddharth <kumarsiddharth tataelxsi co in>
- To: <gtk-app-devel-list gnome org>
- Subject: Drawable and Colormap question...!!
- Date: Thu, 14 Dec 2006 14:48:59 +0530
Hi,
I am new to GTK. What will happen(say visually) if the following code throws
assertion:
pixmap = gdk_pixmap_new(NULL,x,y, gdk_rgb_get_visual()->depth);
gdk_drawable_set_colormap(pixmap, gdk_rgb_get_colormap());
Assertion: depth of drawable is not equal to the depth of colormap...!!
Here the pixmap depth is not equal to the depth of colormap, so the colormap
can't be set. But i am not having any idea regarding the effects of this
assertion. I have a big code which is using these two lines and throwing
assertion on GTKDFB.
Will there be any problem related to colors..??
Regards,
Siddharth
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]