gdk-Cursors {RGtk2} | R Documentation |
Standard and pixmap cursors
gdkCursorNew(cursor.type)
gdkCursorNewFromPixmap(source, mask, fg, bg, x, y)
gdkCursorNewFromPixbuf(display, source, x, y)
gdkCursorNewFromName(display, name)
gdkCursorNewForDisplay(display, cursor.type)
gdkCursorGetDisplay(object)
gdkCursorGetImage(object)
These functions are used to create and destroy cursors.
There is a number of standard cursors, but it is also
possible to construct new cursors from pixmaps and
pixbufs. There may be limitations as to what kinds of
cursors can be constructed on a given display, see
gdkDisplaySupportsCursorAlpha
,
gdkDisplaySupportsCursorColor
,
gdkDisplayGetDefaultCursorSize
and
gdkDisplayGetMaximalCursorSize
.
Cursors by themselves are not very interesting, they must be be
bound to a window for users to see them. This is done with
gdkWindowSetCursor
or by setting the cursor member of the
GdkWindowAttr
struct passed to gdkWindowNew
.
GdkCursor
GdkCursor
structure represents a cursor.
type
GdkCursorType
] the GdkCursorType
of the cursor
GdkCursorType
x_cursor
arrow
based_arrow_down
based_arrow_up
boat
bogosity
bottom_left_corner
bottom_right_corner
bottom_side
bottom_tee
box_spiral
center_ptr
circle
clock
coffee_mug
cross
cross_reverse
crosshair
diamond_cross
dot
dotbox
double_arrow
draft_large
draft_small
draped_box
exchange
fleur
gobbler
gumby
hand1
hand2
heart
icon
iron_cross
left_ptr
left_side
left_tee
leftbutton
ll_angle
lr_angle
man
middlebutton
mouse
pencil
pirate
plus
question_arrow
right_ptr
right_side
right_tee
rightbutton
rtl_logo
sailboat
sb_down_arrow
sb_h_double_arrow
sb_left_arrow
sb_right_arrow
sb_up_arrow
sb_v_double_arrow
shuttle
sizing
spider
spraycan
star
target
tcross
top_left_arrow
top_left_corner
top_right_corner
top_side
top_tee
trek
ul_angle
umbrella
ur_angle
watch
xterm
last-cursor
gdk-cursor-is-pixmap
gdkCursorNewFromPixmap
or gdkCursorNewFromPixbuf
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Cursors.html