Package: gdk

Accessor gdk:cursor-hotspot-y

Lambda List

gdk:cursor-hotspot-y (object)

Syntax

(gdk:cursor-hotspot-y object) => hotspot

Arguments

object -- a gdk:cursor object
hotspot -- an integer for the vertical offset of the hotspot or 0 or named cursors

Details

The accessor for the hotspot-y slot of the gdk:cursor class returns the vertical offset of the hotspot. The hotspot indicates the pixel that will be directly above the cursor.

Note that named cursors may have a nonzero hotspot, but this function will only return the hotspot position for cursors created with the gdk:cursor-new-from-texture function.
 

See also

2025-08-04