FileDialog
A GtkFileDialog
object collects the arguments that are needed to present a file chooser dialog to the user, such as a title for the dialog and whether it should be modal.
The dialog is shown with method@Gtk.FileDialog.open, method@Gtk.FileDialog.save, etc.
Since
4.10
Constructors
Properties
Label for the file chooser's accept button.
The default filter, that is, the filter that is initially active in the file chooser dialog.
The initial file, that is, the file that is initially selected in the file chooser dialog
The initial folder, that is, the directory that is initially opened in the file chooser dialog
The initial name, that is, the filename that is initially selected in the file chooser dialog.
Functions
Finishes the method@Gtk.FileDialog.open call and returns the resulting file.
This function initiates a multi-file selection operation by presenting a file chooser dialog to the user.
Finishes the method@Gtk.FileDialog.open call and returns the resulting files in a GListModel
.
Finishes the method@Gtk.FileDialog.save call and returns the resulting file.
This function initiates a directory selection operation by presenting a file chooser dialog to the user.
Finishes the method@Gtk.FileDialog.select_folder call and returns the resulting file.
This function initiates a multi-directory selection operation by presenting a file chooser dialog to the user.
Finishes the method@Gtk.FileDialog.select_multiple_folders call and returns the resulting files in a GListModel
.