Method

GtkFileChooserset_current_folder_uri

since: 2.4

Declaration [src]

gboolean
gtk_file_chooser_set_current_folder_uri (
  GtkFileChooser* chooser,
  const gchar* uri
)

Description [src]

Sets the current folder for chooser from an URI. The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders.

In general, you should not use this function. See the [section on setting up a file chooser dialog][gtkfilechooserdialog-setting-up] for the rationale behind this.

Available since: 2.4

Parameters

uri

Type: const gchar*

The URI for the new current folder.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the folder could be changed successfully, FALSE otherwise.