gdk-sharp2.6.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Standard and pixmap cursorsThe represents cursors.GLib.OpaqueMethodGdk.CursorAdds a reference to the cursorSame cursor that was passed in.MethodSystem.VoidRemoves a reference from cursor, deallocating the cursor if no references remain.PropertyGdk.DisplayReturns the display on which the is defined.The where the cursor is defined.ConstructorInternal constructor.
raw managed pointer.
This is an internal constructor, do not use it.ConstructorCreates a cursor from standard definitions.
The cursor type.
Creates a new cursor from the set of builtin cursors for the default display. See gdk_cursor_new_for_display().
To make the cursor invisible, use gdk_cursor_new_from_pixmap() to create a cursor with no pixels in it.
ConstructorCreates a new cursor from the set of builtin cursors.
The for which the cursor will be created.
Cursor to create.
None.ConstructorCreates a new cursor from a given pixmap and mask.
The the pixmap specifying the cursor.
The 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.
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.
Gdk.Pixmap pixmap = GetPixmap ();
Gdk.Bitmap mask = GetMask ();
Gdk.Cursor cursor = new Gdk.Cursor (pixmap, mask);
PropertyGLib.GTypeGType Property.a Returns the native value for .ConstructorTo be added
a
a
a
a To be added