Class

GdkCursor

Description [src]

abstract class Gdk.Cursor : GObject.Object {
  /* No available fields */
}

A GdkCursor represents a cursor. Its contents are private.

Hierarchy

hierarchy this GdkCursor ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

gdk_cursor_new

Creates a new cursor from the set of builtin cursors for the default display. See gdk_cursor_new_for_display().

Deprecated since: 3.16

gdk_cursor_new_for_display

Creates a new cursor from the set of builtin cursors.

Available since: 2.2

gdk_cursor_new_from_name

Creates a new cursor by looking up name in the current cursor theme.

Available since: 2.8

gdk_cursor_new_from_pixbuf

Creates a new cursor from a pixbuf.

Available since: 2.4

gdk_cursor_new_from_surface

Creates a new cursor from a cairo image surface.

Available since: 3.10

Instance methods

gdk_cursor_get_cursor_type

Returns the cursor type for this cursor.

Available since: 2.22

gdk_cursor_get_display

Returns the display on which the GdkCursor is defined.

Available since: 2.2

gdk_cursor_get_image

Returns a GdkPixbuf with the image used to display the cursor.

Available since: 2.8

gdk_cursor_get_surface

Returns a cairo image surface with the image used to display the cursor.

Available since: 3.10

gdk_cursor_ref

Adds a reference to cursor.

Deprecated since: 3.0

gdk_cursor_unref

Removes a reference from cursor, deallocating the cursor if no references remain.

Deprecated since: 3.0

Methods inherited from GObject (42)

Properties

Gdk.Cursor:cursor-type
No description available.
Gdk.Cursor:display
No description available.

Signals

Signals inherited from GObject (1)