Package: gtk
Function gtk:picture-new-for-file
Lambda Listgtk:picture-new-for-file (file) ArgumentsReturn ValueThe new gtk:picture widget. Details
Creates a new picture displaying the given file.
If the file is not found or cannot be loaded, the resulting picture is empty. If you need to detect failures to load the file, use the gdk:texture-new-from-file function to load the file yourself, then create the picture from the texture. | See also |
2024-10-13