Sets a named cursor to be shown when pointer devices point towards this.
This is a utility function that creates a cursor via [[email protected]_from_name] and then sets it on this with [[email protected]_cursor]. See those functions for details.
On top of that, this function allows name
to be null, which will do the same as calling [
[email protected]_cursor] with a null cursor.
this |
a `GtkWidget` |
name |
The name of the cursor |