Next: Package_Gdk.Drawable, Previous: Package_Gdk.Color, Up: Top
This package provides the capability to create predefined mouse cursors as well as user defined ones.
| Types |
|---|
| |
| |
| Subprograms |
|---|
| procedure Gdk_New (Widget : out Gdk_Cursor; Cursor_Type : Gdk_Cursor_Type); |
| Create a new standard cursor. |
| procedure Gdk_New (Widget : out Gdk_Cursor; Source : Gdk.Gdk_Pixmap; Mask : Gdk.Gdk_Pixmap; Fg : Gdk.Color.Gdk_Color; Bg : Gdk.Color.Gdk_Color; X : Glib.Gint; Y : Glib.Gint); |
| Create 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.
|
| procedure Destroy (Cursor : Gdk_Cursor); |
| Destroy a cursor, freeing any resources allocated for it. Deprecated, use Unref instead. |
| procedure Ref (Cursor : Gdk_Cursor); |
| Increment the reference counting for the cursor. |
| procedure Unref (Cursor : Gdk_Cursor); |
| Decrement the reference counting for the cursor. When this reaches 0, the cursor is destroyed. |