GimpUi.Preview.prototype.set_default_cursor

function set_default_cursor(cursor: Gdk.Cursor): void {
    // Gjs wrapper for gimp_preview_set_default_cursor()
}
  

Sets the default mouse cursor for the preview. Note that this will be overridden by a %GDK_FLEUR if the preview has scrollbars, or by a %GDK_WATCH when the preview is invalidated.

Since 2.2

cursor

a Gdk.Cursor or null