Package: gtk

Accessor gtk:picture-file

Lambda List

gtk:picture-file (object)

Syntax

(gtk:picture-file object) => file
(setf (gtk:picture-file object) file)

Arguments

object -- a gtk:picture widget
file -- a g:file object that is displayed or nil if none

Details

Accessor of the file slot of the gtk:picture class. The gtk:picture-file function gets the file currently displayed if the picture is displaying a file. If the picture is not displaying a file, for example when the gtk:picture-paintable function was used, then nil is returned. The (setf gtk:picture-file) function makes the picture load and display file. See the gtk:picture-new-for-file documentation for more details.
 

See also

2024-10-13