add_shortcut_folder_uri


Description:

[ Version ( since = "2.4" ) ]
public bool add_shortcut_folder_uri (string uri) throws Error

Adds a folder URI to be displayed with the shortcut folders in a file chooser.

Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a “file:///usr/share/mydrawprogram/Clipart” folder to the volume list.

Parameters:

this

a FileChooser

uri

URI of the folder to add

Returns:

true if the folder could be added successfully, false otherwise. In the latter case, the throws will be set as appropriate.




2022 vala-language.org