Re: Screen coordinate of cursor?? and getting mouse over widget
- From: Cédric Lucantis <omer no-log org>
- To: gtk-list gnome org
- Subject: Re: Screen coordinate of cursor?? and getting mouse over widget
- Date: Tue, 8 May 2007 18:11:40 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]