Window.setDefaultIconFromFile

bool setDefaultIconFromFile(string filename)

Sets an icon to be used as fallback for windows that haven't had [gtk.window.Window.setIconList] called on them from a file on disk. Warns on failure if err is null.

Parameters

filenamelocation of icon file

Returns

true if setting the icon succeeded.

Throws

[ErrorWrap]