Cursor.newFromTexture

Creates a new cursor from a gdk.texture.Texture.

class Cursor
static
newFromTexture

Parameters

texture gdk.texture.Texture

the texture providing the pixel data

hotspotX int

the horizontal offset of the “hotspot” of the cursor

hotspotY int

the vertical offset of the “hotspot” of the cursor

fallback gdk.cursor.Cursor

the gdk.cursor.Cursor to fall back to when this one cannot be supported

Return Value

Type: gdk.cursor.Cursor