Method

GdkCursorget_image

since: 2.8

Declaration [src]

GdkPixbuf*
gdk_cursor_get_image (
  GdkCursor* cursor
)

Description [src]

Returns a GdkPixbuf with the image used to display the cursor.

Note that depending on the capabilities of the windowing system and on the cursor, GDK may not be able to obtain the image data. In this case, NULL is returned.

Available since: 2.8

Return value

Type: GdkPixbuf

A GdkPixbuf representing cursor, or NULL.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.