get_position


Description:

[ Version ( since = "3.0" ) ]
public void get_position (out unowned Screen screen, out int x, out int y)

Gets the current location of this.

As a slave device coordinates are those of its master pointer, This function may not be called on devices of type gdk_device_type_slave, unless there is an ongoing grab on them, see grab.

Parameters:

this

pointer device to query status about.

screen

location to store the Screen the this is on, or null.

x

location to store root window X coordinate of this, or null.

y

location to store root window Y coordinate of this, or null.