Method

GdkX11.X11Display.get_xcursor

Declaration [src]

Cursor
gdk_x11_display_get_xcursor (
  GdkDisplay* display,
  GdkCursor* cursor
)

Description [src]

Returns the X cursor belonging to a GdkCursor, potentially creating the cursor.

Be aware that the returned cursor may not be unique to cursor. It may for example be shared with its fallback cursor. On old X servers that don’t support the XCursor extension, all cursors may even fall back to a few default cursors.

Parameters

cursor GdkCursor*
 

a GdkCursor.

 Ownership is not transferred to the callee

Return value

Returns: Cursor

an Xlib Cursor.