RGtk2 (version 2.20.31)

gdkCursorNewForDisplay: 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

gdkCursorNewForDisplay(display, cursor.type)

Arguments

display
the GdkDisplay for which the cursor will be created
cursor.type
cursor to create

Value

GdkCursor] a new GdkCursor

Details

Since 2.2