set_default_icon_from_file
function set_default_icon_from_file(filename:filename):Boolean { // Gjs wrapper for gtk_window_set_default_icon_from_file() }
Sets an icon to be used as fallback for windows that haven't had Gtk.Window.prototype.set_icon_list called on them from a file on disk. Warns on failure if @err is null.
Since 2.2
- filename
location of icon file
- Returns
true if setting the icon succeeded.