Cursor.from_texture
Description:
[ CCode ( has_construct_function = false ) ]
public Cursor.from_texture (Texture texture, int hotspot_x, int hotspot_y, Cursor? fallback)
public Cursor.from_texture (Texture texture, int hotspot_x, int hotspot_y, Cursor? fallback)
Creates a new cursor from a `GdkTexture`.
Parameters:
texture |
the texture providing the pixel data |
hotspot_x |
the horizontal offset of the “hotspot” of the cursor |
hotspot_y |
the vertical offset of the “hotspot” of the cursor |
fallback |
the `GdkCursor` to fall back to when this one cannot be supported |
Returns:
a new `GdkCursor` |