GtkFileChooser::select_filename

bool select_filename(filename);

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.

Returns true if both the folder could be changed and the file was selected successfully, false otherwise.

See also: select_all() , select_uri() , unselect_filename()