gtkFileChooserAddShortcutFolder {RGtk2} | R Documentation

## gtkFileChooserAddShortcutFolder

### Description

Adds a folder 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 "/usr/share/mydrawprogram/Clipart" folder to the volume list.

### Usage

    gtkFileChooserAddShortcutFolder(object, folder, .errwarn = TRUE)

### Arguments

``object`` | a `GtkFileChooser`
``folder`` | filename 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.36.3 Index]