Re: [gtk-list] Pixmap vs Bitmap
- From: Paul Barton-Davis <pbd op net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Pixmap vs Bitmap
- Date: Mon, 01 May 2000 14:38:32 -0400
>I can't display a bitmap although it's a valid pixmap.
The depth of a bitmap is 2. The depth of a pixmap matches the display
(or something like that; its normally > 2, anyway). Hence the BadMatch
error from the X server. You have to use gdk_draw_bitmap() to draw a
depth=2 bitmap.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]