Package: gtk

Accessor gtk:file-dialog-initial-file

Lambda List

gtk:file-dialog-initial-file (object)

Syntax

(gtk:file-dialog-initial-file object) => file
(setf (gtk:file-dialog-initial-file object) file)

Arguments

object -- a gtk:file-dialog object
file -- a g:file object with the file

Details

Accessor of the initial-file slot of the gtk:file-dialog class. The gtk:file-dialog-initial-file function gets the file that will be initially selected in the file chooser dialog. The (setf gtk:file-dialog-initial-file) function sets the file.

This function is a shortcut for calling both the gtk:file-dialog-initial-folder and gtk:file-dialog-initial-name functions with the directory and name of file respectively.

Since 4.10
 

See also

2023-7-22