get_state


Description:

public void get_state (Window window, double[]? axes, out ModifierType mask)

Gets the current state of a pointer device relative to window.

As a slave device’s 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

a Device.

window

a Window.

axes

an array of doubles to store the values of the axes of this in, or null.

mask

location to store the modifiers, or null.




2022 vala-language.org