Re: creating pixmaps and cursors



Olexiy> Hello, Ian It looks like your pixmaps have depth > 1.  Cut
Olexiy> from "gdk-cursors.html" file of gtk-doc:

Olexiy> ... Both the pixmap and mask must have a depth of 1 (i.e. each
Olexiy> pixel has only 2 values - on or off). ...

Okay, I changed that and it seems to work, now.  Thanks.

Next question:

How can I write my own modal loop in gdk, without busy-waiting?
gdk_get_event() seems to never block but rather return NULL
immediately if no events are waiting.  That is, what's the gdk
equivalent of GetMessage() ?

I realize that I can always use Xlib directly :-(

-- 
Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]