display is the name of the associated xdisplay object.
foreground_rgb is the rgb for the foreground of the cursor. Each rgb value should be in the range 0 <= rgb_value <= 1. Note that this differs from Xlib where rgb value can range from 0 thru 65535.
id is a pointer to the X Cursor structure. This is usually set by the system when the cursor is created.
background_rgb? returns the value of the background_rgb instance variable on the argument stack.
display= display_object_name sets the display instance variable.
display? returns the value of the display instance variable on the argument stack.
foreground_rgb= (red_component, green_component, blue_component) sets the foreground_rgb instance variable.
foreground_rgb? returns the value of the foreground_rgb instance variable on the argument stack.
free_cursor! frees the cursor but not the xcursor object.
id? returns the pointer to the X structure for the cursor. This is set when the cursor is created.
recolor_cursor! recolors the cursor according to the foreground_rgb and background_rgb. (warning: doesn't really work yet?)
font_name= 65 /* 65 came from the include file cursorfont.h>
create!;
Please send comments and suggestions to
its-documentation@rpi.edu