Cursor
Creates a new callback-based cursor object.
Cursors of this kind produce textures for the cursor image on demand, when the @callback is called.
Return
a new GdkCursor
Since
4.16
Parameters
the GdkCursorGetTextureCallback
the GdkCursor
to fall back to when this one cannot be supported
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" | "default" | "help" | "pointer" |
"context-menu" | "progress" | "wait" | "cell" |
"crosshair" | "text" | "vertical-text" | "alias" |
"copy" | "no-drop" | "move" | "not-allowed" |
"grab" | "grabbing" | "all-scroll" | "col-resize" |
"row-resize" | "n-resize" | "e-resize" | "s-resize" |
"w-resize" | "ne-resize" | "nw-resize" | "sw-resize" |
"se-resize" | "ew-resize" | "ns-resize" | "nesw-resize" |
"nwse-resize" | "zoom-in" | "zoom-out" |
Return
a new GdkCursor
, or null if there is no cursor with the given name
Parameters
the name of the cursor
null or the GdkCursor
to fall back to when this one cannot be supported
Creates a new cursor from a GdkTexture
.
Return
a new GdkCursor
Parameters
the texture providing the pixel data
the horizontal offset of the “hotspot” of the cursor
the vertical offset of the “hotspot” of the cursor
the GdkCursor
to fall back to when this one cannot be supported