Constructor

GdkCursornew_for_display

since: 2.2

Declaration [src]

GdkCursor*
gdk_cursor_new_for_display (
  GdkDisplay* display,
  GdkCursorType cursor_type
)

Description [src]

Creates a new cursor from the set of builtin cursors.

Available since: 2.2

Parameters

display

Type: GdkDisplay

The GdkDisplay for which the cursor will be created.

The data is owned by the caller of the function.
cursor_type

Type: GdkCursorType

Cursor to create.

Return value

Type: GdkCursor

A new GdkCursor, or NULL on failure.

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