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: a #cairo_surface_t representing @cursor, or %NULL

Meta

Since

3.10