Hi,
Recently I wanted to change file_chooser.filenames()
in GTK 3 to GTK 4 version which simply return Vec<PathBuf>
.
Looks that something like
let list_model = file_chooser.files().unwrap();
let item = list_model.item(0).unwrap();
should work(item is Object
of GLocalFile
type) but I don’t know what to do later with it. How can I get path string from this Object?