Re: [gtk-list] Pixmap vs Bitmap



>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]