Window.setDefaultIconFromFile

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.

class Window
static
bool
setDefaultIconFromFile
(
string filename
)

Parameters

filename string

location of icon file

Return Value

Type: bool

true if setting the icon succeeded.

Throws