since: 2.4

Declaration [src]

gtk_file_chooser_set_current_folder (
  GtkFileChooser* chooser,
  const gchar* filename

Description [src]

Sets the current folder for chooser from a local filename. 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



Type: const gchar*

The full path of the new current folder.

The data is owned by the caller of the method.
The value is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.

Return value

Type: gboolean

Not useful.