Window.setIconFromFile
bool setIconFromFile(string filename)Sets the icon for window. Warns on failure if err is null.
This function is equivalent to calling gtk.window.Window.setIcon with a pixbuf created by loading the image from filename.
Parameters
filename | location of icon file |
Returns
true if setting the icon succeeded.