Create a context from the specified file.
The context is cached so that future calls do not have to reload the data from the file.
This is intended for use when you need to load an image but don't need a Widget.
file |
The name of the file where the icon is stored. |
GLib.IOError.NOT_FOUND |
if the file does not exist or IOError.FAILED if there was a problem loading the data from the file. |