Changing the cursor in a GTK+ 2 window



How does one change the cursor to the "watch" cursor in a GTK+ 2.0
window, and then change it back to normal?

There is a gdk_window_set_cursor() function, but it requires a
GdkWindow.  I start with a GtkWindow.  There does not seem to be a
function like gtk_window_get_gdk_window() that would bridge the two.

I'm using gtk2 2.0.6.

-- 
Pierre Sarrazin <sarrazip at sympatico dot ca>



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