Le mardi 8 mai 2007 16:07, ibrar ahmed a écrit :
> HI,
>
> 1- How i can get the current cursor position of the screen and also getting
> that widget where mouse over on that time.
>

See gdk_display_get_pointer() and gdk_display_get_window_at_pointer() in the 
GDK reference manual (section GdkDisplay). You can get the widget associated 
with a window with gdk_window_get_user_data().

-- 
Cédric Lucantis
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to