Cursor
Creates a new cursor by looking up @name in the current cursor theme.
A recommended set of cursor names that will work across different platforms can be found in the CSS specification:
"none" | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
Return
a new GdkCursor
, or null if there is no cursor with the given name
Parameters
name
the name of the cursor
fallback
null or the GdkCursor
to fall back to when this one cannot be supported
constructor(texture: Texture, hotspotX: <Error class: unknown class>, hotspotY: <Error class: unknown class>, fallback: Cursor? = null)(source)
Creates a new cursor from a GdkTexture
.
Return
a new GdkCursor
Parameters
texture
the texture providing the pixel data
hotspotX
the horizontal offset of the “hotspot” of the cursor
hotspotY
the vertical offset of the “hotspot” of the cursor
fallback
the GdkCursor
to fall back to when this one cannot be supported