Class
GdkCursor
Description [src]
abstract class Gdk.Cursor : GObject.Object {
/* No available fields */
}
A GdkCursor
represents a cursor. Its contents are private.
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
Instance methods
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_unref
Removes a reference from cursor
, deallocating the cursor
if no references remain.
Deprecated since: 3.0
Properties
Gdk.Cursor:cursor-type
Gdk.Cursor:display
Signals
Signals inherited from GObject (1)
GObject.Object::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.