Re: Screen coordinate of cursor?? and getting mouse over widget

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

 



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
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux