Cursor.getSurface

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.

class Cursor
getSurface
(
out double xHot
,
out double yHot
)

Parameters

xHot double

Location to store the hotspot x position, or NULL

yHot double

Location to store the hotspot y position, or NULL

Return Value

Type: Surface

a cairo_surface_t representing cursor, or NULL. [transfer full] Since 3.10

Meta