gdk-Cursors {RGtk2}R Documentation

Cursors

Description

Standard and pixmap cursors

Methods and Functions

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)

Detailed Description

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.

Structures

GdkCursor
A GdkCursor structure represents a cursor.

type
[GdkCursorType] the GdkCursorType of the cursor

Enums and Flags

GdkCursorType
The standard cursors available.

gdk-cursor-is-pixmap
undocumented

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/gdk/gdk-Cursors.html


[Package RGtk2 version 2.8.5 Index]