Cursor.this

Creates a new cursor from a GdkTexture.

  1. this(GdkCursor* gdkCursor, bool ownedRef)
  2. this(string name, Cursor fallback)
  3. this(Texture texture, int hotspotX, int hotspotY, Cursor fallback)
    class Cursor

Parameters

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 Cursor

%NULL or the GdkCursor to fall back to when this one cannot be supported

Return Value

a new GdkCursor

Throws

ConstructionException GTK+ fails to create the object.

Meta