setInitialFile

open fun setInitialFile(file: <Error class: unknown class>? = null)

Sets the file that will be initially selected in the file chooser dialog.

This function is a shortcut for calling both gtk_file_dialog_set_initial_folder() and gtk_file_dialog_set_initial_name() with the directory and name of @file respectively.

Since

4.10

Parameters

file

a GFile