The members of Gtk.FileChooserWidget are listed below.
See Also: Inherited members from Gtk.VBox
Public constructor. | ||
Constructor for internal use. | ||
Public constructor. |
Protected constructor. |
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. Enables Overwrite Confirmation in the widget. | |
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[]. The filenames selected by this widget. |
Filter | FileFilter. The currently-applied file filter. | |
[read-only] | Filters | FileFilter[]. The filters currently in use by this widget for patterns of files to display. |
[read-only] static | GType | GLib.GType. The GLib.GType for this object. |
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[]. The shortcut folders currently in use for this widget. |
[read-only] | ShortcutFolderUris | string[]. The shortcut URIs currently allowed for this widget. |
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[]. The URIs selected by this widget. |
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. |
AddFilter(FileFilter)Adds filter to the list of filters that the user can select between. | ||
AddShortcutFolder(string)Adds a folder to be displayed with the shortcut folders in a file chooser. | ||
AddShortcutFolderUri(string)Adds a folder URI to be displayed with the shortcut folders in a file chooser. | ||
RemoveFilter(FileFilter)Removes filter from the list of filters that the user can select between. | ||
RemoveShortcutFolder(string)Removes a folder from a file chooser's list of shortcut folders. | ||
RemoveShortcutFolderUri(string)Removes a folder URI from a file chooser's list of shortcut folders. | ||
SelectAll()Selects all the files in the current folder of a file chooser. | ||
SelectFilename(string)Selects a filename. | ||
SelectUri(string)Selects the file at uri. If the URI doesn't refer to a file in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder that's part of uri . | ||
SetCurrentFolder(string)Sets the current folder for the file chooser from a local filename. | ||
SetCurrentFolderUri(string)Sets the current folder for the chooser from an URI. | ||
SetFilename(string)Sets filename as the current filename for the file chooser; If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing filename. | ||
SetUri(string)Sets the file referred to by uri as the current file for the the file chooser. | ||
UnselectAll()Unselects all the files in the current folder of a file chooser. | ||
UnselectFilename(string)Unselects a currently selected filename. | ||
UnselectUri(string)Unselects the file referred to by uri. |
OnConfirmOverwrite()Default handler for the FileChooserWidget.ConfirmOverwrite event. | ||
OnCurrentFolderChanged()Default handler for the FileChooserWidget.CurrentFolderChanged event. | ||
OnFileActivated()Default handler for the FileChooserWidget.FileActivated event. | ||
OnSelectionChanged()Default handler for the FileChooserWidget.SelectionChanged event. | ||
OnUpdatePreview()Default handler for the FileChooserWidget.UpdatePreview event. |
ConfirmOverwrite | Indicates a file overwrite has been requested. | |
CurrentFolderChanged | Event raised when the chooser changes the folder it's looking at. | |
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. |