Re: Changing the cursor in a GTK+ 2 window
- From: Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in>
- To: GTK App Devel <gtk-app-devel-list gnome org>
- Subject: Re: Changing the cursor in a GTK+ 2 window
- Date: 28 Mar 2003 11:15:53 +0530
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.
GTK_WIDGET(window)->window
will give you the GdkWindow.
Might be a good idea to have a look at
<prefix>/include/gtk-2.0/gtk/gtkwidget.h for more
I'm using gtk2 2.0.6.
--
Pierre Sarrazin <sarrazip at sympatico dot ca>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Biswa.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]