gtkFileChooserAddShortcutFolderUri   package:RGtk2   R Documentation

_g_t_k_F_i_l_e_C_h_o_o_s_e_r_A_d_d_S_h_o_r_t_c_u_t_F_o_l_d_e_r_U_r_i

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     gtkFileChooserAddShortcutFolderUri(object, uri, .errwarn = TRUE)

_A_r_g_u_m_e_n_t_s:

'object': ['GtkFileChooser']  a 'GtkFileChooser'

   'uri': [char]  URI of the folder to add

.errwarn: Whether to issue a warning on error or fail silently

_D_e_t_a_i_l_s:

     Since  2.4

_V_a_l_u_e:

     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'

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

