Re: How to get the mouse position outside of a mouse event?




Get the list of devices : clutter_device_manager_list_devices ()
Filter that list looking for pointer device : clutter_input_device_get_device_type() == CLUTTER_POINTER_DEVICE
Get the last coordinates of that device : clutter_input_device_get_coords ()

-
Lionel

On 05/07/14 09:31, Árpád Poprádi wrote:
Hi,

is there a way to get this info without handling a mouse event?

Árpád



_______________________________________________
clutter-list mailing list
clutter-list gnome org
https://mail.gnome.org/mailman/listinfo/clutter-list



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