Package: gtk

Accessor gtk:file-dialog-initial-name

Lambda List

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

Syntax

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

Arguments

object -- a gtk:file-dialog object
name -- a string with the name

Details

Accessor of the initial-name slot of the gtk:file-dialog class. The gtk:file-dialog-initial-name function gets the name for the file that should be initially set. The (setf gtk:file-dialog-initial-name) function sets the name. For saving dialogs, this will usually be pre-entered into the name field.

If a file with this name already exists in the directory set via the initial-folder property, the dialog should preselect it.

Since 4.10
 

See also

2023-7-22