gdkCursorNewForDisplay

Description

Creates a new cursor from the set of builtin cursors. Some useful ones are:

  • GDK_RIGHT_PTR (right-facing arrow)

  • GDK_CROSSHAIR (crosshair)

  • GDK_XTERM (I-beam)

  • GDK_WATCH (busy)

  • GDK_FLEUR (for moving objects)

  • GDK_HAND1 (a right-pointing hand)

  • GDK_HAND2 (a left-pointing hand)

  • GDK_LEFT_SIDE (resize left side)

  • GDK_RIGHT_SIDE (resize right side)

  • GDK_TOP_LEFT_CORNER (resize northwest corner)

  • GDK_TOP_RIGHT_CORNER (resize northeast corner)

  • GDK_BOTTOM_LEFT_CORNER (resize southwest corner)

  • GDK_BOTTOM_RIGHT_CORNER (resize southeast corner)

  • GDK_TOP_SIDE (resize top side)

  • GDK_BOTTOM_SIDE (resize bottom side)

  • GDK_SB_H_DOUBLE_ARROW (move vertical splitter)

  • GDK_SB_V_DOUBLE_ARROW (move horizontal splitter)

  • GDK_BLANK_CURSOR (Blank cursor). Since 2.16

Usage

1
gdkCursorNewForDisplay(display, cursor.type)

Arguments

display

the GdkDisplay for which the cursor will be created

cursor.type

cursor to create

Details

Since 2.2

Value

[GdkCursor] a new GdkCursor

Author(s)

Derived by RGtkGen from GTK+ documentation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.