Package: gdk

Function gdk:event-screen

Lambda List

gdk:event-screen (event)

Syntax

(gdk:event-screen event) => screen
(setf (gdk:event-screen event) screen)

Arguments

event -- a gdk:event instance
screen -- a gdk:screen object

Details

Gets or sets the screen of an event. The event must have been allocated by GTK, for instance, by the gdk:event-copy function.

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.
 

See also

2025-10-09