set_initial_name


Description:

public void set_initial_name (string? name)

Sets the filename that will be initially selected.

For save dialogs, name 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 will preselect it.

Parameters:

this

a file dialog

name

a string