get_surface


Description:

[ Version ( since = "3.10" ) ]
public Surface? get_surface (out double x_hot, out double y_hot)

Returns a cairo image surface 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.

Parameters:

this

a Cursor

x_hot

Location to store the hotspot x position, or null

y_hot

Location to store the hotspot y position, or null

Returns:

a XlibSurface representing this, or null