get_xcursor


Description:

[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public Cursor get_xcursor (Cursor cursor)

Warning: get_xcursor is deprecated since 4.18.

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:

this

a `GdkDisplay`

cursor

a `GdkCursor`

Returns:

an Xlib Cursor.