FileDialog.initialFile

Get initialFile property.

  1. gio.file.File initialFile [@property getter]
    class FileDialog
    @property
    initialFile
    ()
  2. gio.file.File initialFile [@property setter]

Return Value

Type: gio.file.File

The initial file, that is, the file that is initially selected in the file chooser dialog

This is a utility property that sets both property@Gtk.FileDialog:initial-folder and property@Gtk.FileDialog:initial-name.