get_pointer


Description:

[ Version ( deprecated = true , deprecated_since = "3.0" ) ]
public unowned Window? get_pointer (out int x, out int y, out ModifierType mask)

Warning: get_pointer is deprecated since 3.0.

Obtains the current pointer position and modifier state.

Note:

Use get_device_position instead.

The position is given in coordinates relative to the upper left corner of this.

Parameters:

this

a Window

x

return location for X coordinate of pointer or null to not return the X coordinate

y

return location for Y coordinate of pointer or null to not return the Y coordinate

mask

return location for modifier mask or null to not return the modifier mask

Returns:

the window containing the pointer (as with at_pointer), or null if the window containing the pointer isn’t known to GDK




2022 vala-language.org