Constructor
GdkCursornew_from_texture
Declaration [src]
GdkCursor*
gdk_cursor_new_from_texture (
GdkTexture* texture,
int hotspot_x,
int hotspot_y,
GdkCursor* fallback
)
Parameters
texture-
Type:
GdkTextureThe texture providing the pixel data.
The data is owned by the caller of the function. hotspot_x-
Type:
intThe horizontal offset of the “hotspot” of the cursor.
hotspot_y-
Type:
intThe vertical offset of the “hotspot” of the cursor.
fallback-
Type:
GdkCursorThe
GdkCursorto fall back to when this one cannot be supported.The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: GdkCursor
A new GdkCursor.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |