gchar* gtk_file_chooser_get_uri ( GtkFileChooser* chooser )
Gets the URI for the currently selected file in the file selector. If multiple files are selected, one of the filenames will be returned at random.
If the file chooser is in folder mode, this function returns the selected folder.
Available since: 2.4
The currently selected URI, or
if no file is selected. If
gtk_file_chooser_set_local_only() is set to
TRUE (the default) a local URI will be returned for any FUSE locations.
|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.|