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

The accessor for the file slot of the gtk:picture class gets or sets 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. See the gtk:picture-new-for-file documentation for more details.
 

See also

2025-08-04