Constructor
GdkCursornew_from_texture
Declaration [src]
GdkCursor*
gdk_cursor_new_from_texture (
GdkTexture* texture,
int hotspot_x,
int hotspot_y,
GdkCursor* fallback
)
Parameters
texture |
GdkTexture |
The texture providing the pixel data. |
|
The data is owned by the caller of the function. | |
hotspot_x |
int |
The horizontal offset of the “hotspot” of the cursor. |
|
hotspot_y |
int |
The vertical offset of the “hotspot” of the cursor. |
|
fallback |
GdkCursor |
The |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |
Return value
Returns: | GdkCursor |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |