Cursor.newFromTexture
gdk.cursor.Cursor newFromTexture(gdk.texture.Texture texture, int hotspotX, int hotspotY, gdk.cursor.Cursor fallback = null)Creates a new cursor from a [gdk.texture.Texture].
Parameters
texture | the texture providing the pixel data |
hotspotX | the horizontal offset of the “hotspot” of the cursor |
hotspotY | the vertical offset of the “hotspot” of the cursor |
fallback | the [gdk.cursor.Cursor] to fall back to when this one cannot be supported |
Returns
a new [gdk.cursor.Cursor]