Widget.setCursorFromName

Sets a named cursor to be shown when pointer devices point towards widget.

This is a utility function that creates a cursor via gdk.cursor.Cursor.newFromName and then sets it on widget with gtk.widget.Widget.setCursor. See those functions for details.

On top of that, this function allows name to be null, which will do the same as calling gtk.widget.Widget.setCursor with a null cursor.

class Widget
void
setCursorFromName
(
string name = null
)

Parameters

name string

The name of the cursor