bool select_uri(uri);

Selects an URI. If the file name isn't in the current folder of chooser, then the current folder of chooser will be changed to the folder containing filename.

Returns true if both the folder could be changed and the file was selected successfully, false otherwise.

See also: select_all() , select_filename() , unselect_uri()