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
gdk-cursor-is-pixmap
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Cursors.html