Package: gdk

Function gdk-cursor-surface

Lambda List

gdk-cursor-surface (cursor)

Arguments

cursor -- a gdk-cursor object

Return Value

surface -- a cairo-surface-t instance representing a cursor
x-hot -- a double float with the hotspot x position
y-hot -- a double float with the hotspot y position

Details

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, nil is returned.
 

See also

2021-12-11