Creates a new texture by loading an image from a file.
The file format is detected automatically. The supported formats are PNG and JPEG, though more formats might be available.
If %NULL is returned, then @error will be set.
GFile to load
A newly-created GdkTexture or %NULL if an error occurred.
GException on failure. ConstructionException GTK+ fails to create the object.
See Implementation
Creates a new texture by loading an image from a file.
The file format is detected automatically. The supported formats are PNG and JPEG, though more formats might be available.
If %NULL is returned, then @error will be set.