Gtk.Widget.prototype.drag_source_set_icon_gicon

function drag_source_set_icon_gicon(icon:Gio.Icon):void {
    // Gjs wrapper for gtk_drag_source_set_icon_gicon()
}

Sets the icon that will be used for drags from a particular source to icon. See the docs for Gtk.IconTheme for more details.

Since 3.2

icon

A Gio.Icon