gtkFileChooserAddShortcutFolderUri {RGtk2} | R Documentation

## 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

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

### Details

Since 2.4

### 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 ]

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]