get_screen


Description:

[ Version ( since = "2.2" ) ]
public unowned Screen get_screen ()

Returns the screen for the event.

The screen is typically the screen for `event->any.window`, but for events such as mouse events, it is the screen where the pointer was when the event occurs - that is, the screen which has the root window to which `event->motion.x_root` and `event->motion.y_root` are relative.

Parameters:

this

a Event

Returns:

the screen for the event