| 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.
GdkCursorGdkCursor structure represents a cursor.
typeGdkCursorType] the GdkCursorType of the cursor
GdkCursorTypex_cursorarrowbased_arrow_downbased_arrow_upboatbogositybottom_left_cornerbottom_right_cornerbottom_sidebottom_teebox_spiralcenter_ptrcircleclock coffee_mugcrosscross_reversecrosshairdiamond_crossdotdotboxdouble_arrowdraft_largedraft_smalldraped_boxexchangefleurgobblergumbyhand1hand2hearticoniron_crossleft_ptrleft_sideleft_teeleftbuttonll_anglelr_anglemanmiddlebuttonmousepencilpirateplusquestion_arrowright_ptrright_sideright_teerightbuttonrtl_logosailboatsb_down_arrowsb_h_double_arrowsb_left_arrowsb_right_arrowsb_up_arrowsb_v_double_arrowshuttlesizingspider spraycanstartargettcrosstop_left_arrowtop_left_cornertop_right_cornertop_sidetop_teetrekul_angleumbrellaur_anglewatchxtermlast-cursorgdk-cursor-is-pixmapgdkCursorNewFromPixmap or gdkCursorNewFromPixbuf
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Cursors.html