Sets a named cursor to be shown when pointer devices point
towards @widget.
This is a utility function that creates a cursor via
[ctor@Gdk.Cursor.new_from_name] and then sets it on @widget
with [method@Gtk.Widget.set_cursor]. See those functions for
details.
On top of that, this function allows @name to be %NULL, which
will do the same as calling [method@Gtk.Widget.set_cursor]
with a %NULL cursor.
Sets a named cursor to be shown when pointer devices point towards @widget.
This is a utility function that creates a cursor via [ctor@Gdk.Cursor.new_from_name] and then sets it on @widget with [method@Gtk.Widget.set_cursor]. See those functions for details.
On top of that, this function allows @name to be %NULL, which will do the same as calling [method@Gtk.Widget.set_cursor] with a %NULL cursor.