get_xcursor


Description:

public Cursor get_xcursor (Cursor cursor)

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.




2022 vala-language.org