Re: Changing cursor



Hi, you need GdkCursor. See:

 http://developer.gnome.org/doc/API/2.0/gdk/gdk-Cursors.html

You can use gtk_window_list_toplevels() to get all the windows making up your application, then set a cursor for each one. Make a timeout callback and change the cursor in that to animate it.

John

Peter Van Osta wrote:
In my GNOME/GTK+ software there are moments that the user has to wait for a while when some rpocedure is going on. Is there a way to change the shape of the mouse cursor in a watch or something like that indicating something is goin on ? What about an animated cursor ?




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