vikram_dravid_sr wrote:
hi, i have a viewport into which i have added children such as label,image,text box etc...now i am trying to capture mouse events for the label / image.....this is the error i get when i am tring to change the mouse corsor when it moves over the label......please help me fix the error shown below.................................. cannot convert `GtkWidget *' to `GdkWindow *' for argument `1' to `gdk_window_set_cursor (GdkWindow *, GdkCursor *)' thanks on advance
You need to give a GdkWidget not a GtkWindow, obviously. Just use gdk_window_set_cursor (mywidget->window, mycursor). Have at look at devhelp, it helps you browse gtk+'s (and others) api documentation.
_______________________________________________
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list