Method

GtkFileChooserselect_filename

since: 2.4

Declaration [src]

gboolean
gtk_file_chooser_select_filename (
  GtkFileChooser* chooser,
  const char* filename
)

Description [src]

Selects a filename. If the file name isn’t in the current folder of chooser, then the current folder of chooser will be changed to the folder containing filename.

Available since: 2.4

Parameters

filename

Type: const char*

The filename to select.

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.

See also: gtk_file_chooser_set_filename().