Package: gdk

Function gdk:texture-new-from-file

Lambda List

gdk:texture-new-from-file (file)

Arguments

file -- a g:file object to load

Return Value

The newly created gdk:texture object, or nil if an error occurred.

Details

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.
 

See also

#2024-11-21