Learn R Programming

RGtk2 (version 2.20.31)

gtkFileChooserAddShortcutFolderUri: gtkFileChooserAddShortcutFolderUri

Description

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.

Usage

gtkFileChooserAddShortcutFolderUri(object, uri, .errwarn = TRUE)

Arguments

uri
URI of the folder to add
.errwarn
Whether to issue a warning on error or fail silently

Value

A list containing the following elements:
retval
[logical] TRUE if the folder could be added successfully, FALSE otherwise. In the latter case, the error will be set as appropriate.
error
location to store error, or NULL. [ allow-none ]

Details

Since 2.4