Package: gtk
Function gtk:file-chooser-current-folder
Lambda Listgtk:file-chooser-current-folder (chooser) SyntaxArgumentsDetails The gtk:file-chooser-current-folder function gets the current folder
of the file chooser as a local filename. The (setf gtk:file-chooser-current-folder) function sets the current folder.
The user will be shown the full contents of the current folder, plus user
interface elements for navigating to other folders. Note that this is the folder that the file chooser is currently displaying, for example /home/username/Documents, which is not the same as the currently selected folder if the chooser is in :select-folder mode, for example /home/username/Documents/selected-folder/. To get the currently selected folder in that mode, use the gtk:file-chooser-uri function as the usual way to get the selection. In general, you should not use this function. See the section on setting up a file chooser dialog for the rationale behind this. | See also |
2024-12-29