The members of Gtk.FileChooser are listed below.
Public Properties
| Action | FileChooserAction.
Sets the type of operation that that the chooser is performing; the
user interface is adapted to suit the selected action.
|
| [read-only] | CurrentFolder | string. The current folder for the file chooser, when the chooser has selected a local filename. |
| [read-only] | CurrentFolderUri | string. The file chooser's current folder, if set from a URI. |
| [write-only] | CurrentName | string.
Property to represent the current name in the file selector,
as if entered by the user.
|
| DoOverwriteConfirmation | bool. Controls if Overwrite Confirmation is performed. |
| ExtraWidget | Widget. An application-supplied widget to provide extra options to the user. |
| [read-only] | Filename | string. The current filename selected by the file chooser. |
| [read-only] | Filenames | string[]. Documentation for this section has not yet been entered. |
| Filter | FileFilter. The currently-applied file filter. |
| [read-only] | Filters | FileFilter[]. Documentation for this section has not yet been entered. |
| LocalOnly | bool.
Sets whether only local files can be selected in the
file selector.
|
| [read-only] | PreviewFilename | string. Internal function; gets the filename that should be previewed in a custom preview. |
| [read-only] | PreviewUri | string. The URI that should be previewed in a custom preview widget. |
| PreviewWidget | Widget.
An application-supplied widget to use to display a custom preview
of the currently selected file.
|
| PreviewWidgetActive | bool.
Sets whether the preview widget set by FileChooser.SetPreviewWidget
should be shown for the current filename.
|
| SelectMultiple | bool.
Sets whether multiple files can be selected in the file selector.
|
| [read-only] | ShortcutFolders | string[]. Documentation for this section has not yet been entered. |
| [read-only] | ShortcutFolderUris | string[]. Documentation for this section has not yet been entered. |
| ShowHidden | bool. Documentation for this section has not yet been entered. |
| [read-only] | Uri | string. The URI for the currently selected file in
the file selector. |
| [read-only] | Uris | string[]. Documentation for this section has not yet been entered. |
| UsePreviewLabel | bool.
Sets whether the file chooser should display a stock label with the name of
the file that is being previewed; the default is true.
|
Public Methods
Public Events
| ConfirmOverwrite | Indicates an overwrite confirmation is needed. |
| CurrentFolderChanged |
This signal is emitted when the current folder in a file chooser
changes.
|
| FileActivated |
This signal is emitted when the user "activates" a file in the file
chooser.
|
| SelectionChanged | This event is raised every time the selected file changes. |
| UpdatePreview |
This signal is emitted when the preview in a file chooser should be
regenerated. For example, this can happen when the currently
selected file changes.
|