GtkFileSelection::get_filename

string get_filename(void);

Returns a string representing the current value in the file selector. If no directory or file has been selected then the current path is returned.

$filename = $fs->get_filename();