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: 3.16 

gdk_cursor_new_for_display

Creates a new cursor from the set of builtin cursors.

since: 2.2

gdk_cursor_new_from_name

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

since: 2.8

gdk_cursor_new_from_pixbuf

Creates a new cursor from a pixbuf.

since: 2.4

gdk_cursor_new_from_surface

Creates a new cursor from a cairo image surface.

since: 3.10

Instance methods

gdk_cursor_get_cursor_type

Returns the cursor type for this cursor.

since: 2.22

gdk_cursor_get_display

Returns the display on which the GdkCursor is defined.

since: 2.2

gdk_cursor_get_image

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

since: 2.8

gdk_cursor_get_surface

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

since: 3.10

gdk_cursor_ref

Adds a reference to cursor.

deprecated: 3.0 

gdk_cursor_unref

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

deprecated: 3.0 

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Gdk.Cursor:cursor-type
No description available.

Gdk.Cursor:display
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.