GtkWindow::set_icon_from_file

void set_icon_from_file(filename, error);

Sets the icon for the window to be the image found at filename. If filename cannot be loaded, an exception will be thrown.

See also: set_icon()