Re: [gtk-list] Problem with changing cursor; can you help, please?
- From: John Kodis <kodis jagunet com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Problem with changing cursor; can you help, please?
- Date: Mon, 8 May 2000 18:42:25 -0400
On Mon, May 08, 2000 at 10:04:18PM +0100, Oliver Elphick wrote:
> I am trying to find out how to change the cursor style, but I have not
> yet found out how to do it successfully.
You have to create a new cursor first. Somewhere in your program,
you'll need something along the lines of:
GdkCursor *arrow_cursor = gdk_cursor_new(GDK_ARROW);
Then use arrow_cursor in the gdk_window_set_cursor() call.
-- John Kodis.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]