Package: gdk

Function gdk:cursor-new-from-texture

Lambda List

gdk:cursor-new-from-texture (texture xhotspot yhotspot &optional fallback)

Arguments

texture -- a gdk:texture object with the texture providing the pixel data
xhotspot -- an integer with the horizontal offset of the hotspot of the cursor
yhotspot -- an integer with the vertical offset of the hotspot of the cursor
fallback -- an optional gdk:cursor object to fall back to when this one cannot be supported, the default is nil

Return Value

The new gdk:cursor object.

Details

Creates a new cursor from a gdk:texture object.
 

See also

2024-6-30