create-pixmap-cursor

Name

create-pixmap-cursor -- Create and return a new cursor object from the pixmap image.

Synopsis

(create-pixmap-cursor image #&optional fg-color bg-color x-hotspot y-hotspot)

Description

Create and return a new cursor object from the pixmap image. image specifies the look of the cursor that will be returned. fg-color and bg-color specify the foreground and background colors respectively. x-hotspot, y-hotspot give the x and y offset for the cursor's hot spot (from the top-left of the cursor).

Implementation Notes

Module: Built-in Primitive

Defined in src/cursor.c at line 269 (CVS log)