Package: gdk

Function gdk:cursor-new-from-callback

Lambda List

gdk:cursor-new-from-callback (func &optional fallback)

Arguments

func -- a gdk:cursor-texture-callback callback function
fallback -- a gdk:cursor object to fall back to when this one cannot be supported

Details

Creates a new callback-based cursor object. Cursors of this kind produce textures for the cursor image on demand, when the callback is called.

Since 4.16
 

See also

2026-02-22