Re: [gtk-list] Cursors with gtk/gdk
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Cursors with gtk/gdk
- Date: Thu, 5 Nov 1998 13:46:47 -0600 (CST)
On Thu, 5 Nov 1998, Eric Harlow wrote:
>
> ** ERROR **: BadMatch (invalid parameter attributes)
> serial 131 error_code 8 request_code 93 minor_code 0
>
> 1 - how do I track down such an error?
XCreatePixmapCursor gives BadMatch if your pixmap is not depth 1, your
mask is a different size from the pixmap, or the hotspot is not within the
pixmap. So one of those could be it.
> 2 - does someone have sample code of creating a cursor from pixmap
> data that works so I can figure out what I'm doing wrong?
>
Gnumeric has some examples of this.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]