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 [GtkFileChooser] a GtkFileChooser
uri [char] 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 [GError] location to store error, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]