Package: gtk

Accessor gtk:widget-cursor

Lambda List

gtk:widget-cursor (object)

Syntax

(gtk:widget-cursor object) => cursor
(setf (gtk:widget-cursor object) cursor)

Arguments

object -- a gtk:widget object
cursor -- a gdk:cursor object

Details

Accessor of the cursor slot of the gtk:widget class. The gtk:widget-cursor function queries the cursor set on the widget. The (setf gtk:widget-cursor) function sets the cursor to be shown when pointer devices point towards the widget. If the cursor property is nil, the widget will use the cursor inherited from the parent widget.
 

See also

2025-2-13