set_default_icon

function set_default_icon(icon:GdkPixbuf.Pixbuf):void {
    // Gjs wrapper for gtk_window_set_default_icon()
}

Sets an icon to be used as fallback for windows that haven't had Gtk.Window.prototype.set_icon called on them from a pixbuf.

Since 2.4

icon

the icon