the pixmap specifying the cursor.
the pixmap specifying the mask, which must be the same size as source.
the foreground color, used for the bits in the source which are 1. The color does not have to be allocated first.
the background color, used for the bits in the source which are 0. The color does not have to be allocated first.
the horizontal offset of the 'hotspot' of the cursor.
the vertical offset of the 'hotspot' of the cursor.
ConstructionException GTK+ fails to create the object.
Creates a new cursor from a given pixmap and mask. Both the pixmap and mask must have a depth of 1 (i.e. each pixel has only 2 values - on or off). The standard cursor size is 16 by 16 pixels. You can create a bitmap from inline data as in the below example.