GtkFileChooser::set_filename

bool set_filename(filename);

Defines the current file location shown.

Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use set_current_name() .

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