FileDialog.setInitialFile

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

This function is a shortcut for calling both gtk.file_dialog.FileDialog.setInitialFolder and gtk.file_dialog.FileDialog.setInitialName with the directory and name of file respectively.

class FileDialog
void
setInitialFile
()

Parameters

file gio.file.File