Method

GdkEventget_screen

Declaration [src]

GdkScreen*
gdk_event_get_screen (
  const GdkEvent* event
)

Description [src]

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.

Available since:2.2

Return value

Type: GdkScreen

The screen for the event.

The data is owned by the instance.