Learn R Programming

RGtk2 (version 2.8.8)

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)

Usage

gdkCursorNewForDisplay(display, cursor.type)

Arguments

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

Value

Details

To make the cursor invisible, use gdkCursorNewFromPixmap to create a cursor with no pixels in it.

Since 2.2