set_icon_from_file


Description:

[ Version ( since = "2.2" ) ]
public bool set_icon_from_file (string filename) throws Error

Sets the icon for this.

Warns on failure if err is null.

This function is equivalent to calling set_icon with a pixbuf created by loading the image from filename.

Parameters:

this

a Window

filename

location of icon file

Returns:

true if setting the icon succeeded.