set_initial_name


Description:

public void set_initial_name (string? name)

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.

Parameters:

this

a `GtkFileDialog`

name

a UTF8 string