Re: [gtk-list] Problem with changing cursor; can you help, please?



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]