get_last_event_window


Description:

[ Version ( since = "3.12" ) ]
public unowned Window? get_last_event_window ()

Gets information about which window the given pointer device is in, based on events that have been received so far from the display server.

If another application has a pointer grab, or this application has a grab with owner_events = false, null may be returned even if the pointer is physically over one of this application's windows.

Parameters:

this

a Device, with a source other than gdk_source_keyboard

Returns:

the last window the device




2022 vala-language.org