Re: [gtk-list] Cursors
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Cursors
- Date: Sat, 25 Sep 1999 01:28:47 -0400 (EDT)
Hi,
Based on the pseudocode I'm not sure what's going wrong, but here is
how cursors are usually used:
GdkCursor* cursor;
cursor = gdk_cursor_new(GDK_WHATEVER);
gdk_window_set_cursor(window, cursor);
gdk_cursor_destroy(cursor); /* safe because cursor is just a handle */
do_processing();
gdk_window_set_cursor(window, NULL); /* set back to default cursor */
This is documented in my book at http://developer.gnome.org/doc/GGAD.
Does it work if you do it this way?
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]