gchar* gtk_file_chooser_get_current_folder_uri ( GtkFileChooser* chooser )
Gets the current folder of
chooser as an URI.
Note that this is the folder that the file chooser is currently displaying
(e.g. “file:///home/username/Documents”), which is not the same
as the currently-selected folder if the chooser is in
(e.g. “file:///home/username/Documents/selected-folder/”. To get the
currently-selected folder in that mode, use
gtk_file_chooser_get_uri() as the
usual way to get the selection.
Available since: 2.4
The URI for the current folder.
Free with g_free(). This function will also return
NULL if the file chooser
was unable to load the last folder that was requested from it; for example,
as would be for calling
gtk_file_chooser_set_current_folder_uri() on a
|The caller of the method takes ownership of the data, and is responsible for freeing it.|
|The return value can be |
|The value is a NUL terminated UTF-8 string.|