Creates a new instance of a Icon widget from a PNG file.
file |
The name of the file where the icon is stored. |
IOError.NOT_FOUND |
if the file does not exist or IOError.FAILED if there was a problem loading the data from the file. |