Package: gdk
Callback gdk:cursor-texture-callback
SyntaxArgumentsDetails The type of callback used by a dynamic gdk:cursor object to generate a texture for the cursor image at the given size and scale.
The actual cursor size in application pixels may be different from size x size, and will be returned in width, height.
The returned texture should have a size that corresponds to the actual cursor
size, in device pixels, that is application pixels, multiplied by scale. This function may fail and return nil, in which case the fallback cursor will be used. Since 4.16 | See also |
2026-02-22