setInitialName

open fun setInitialName(name: String? = null)

Sets the name for the file that should be initially set. 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 property@Gtk.FileDialog:initial-folder, the dialog should preselect it.

Since

4.10

Parameters

name

a UTF8 string