Fyne: Possible to get a native file chooser

Created on 22 Sep 2019  路  4Comments  路  Source: fyne-io/fyne

I am sorry if this feature already exists, but I couldn鈥檛 find it when looking through the godoc reference. Using gtk with Gotk3 there is a widget for a FileChooserButton that lets the user choose a file, folder and such. This is really useful and powerful when needing simple file handling, would it be possible to have that support here?

My use case in gotk3 is that I have the button set for choosing a file and then I use a method for the created variable to get the whole path for that file to then pass in to a os.Open call.

Most helpful comment

You might want to check out: https://github.com/sqweek/dialog

All 4 comments

You might want to check out: https://github.com/sqweek/dialog

Thanks @celer that seems like it might do the trick for me until there is proper support in fyne 馃檪

This is a feature that is coming. We have plans to finish a data API soon and that will come with widgets such as lists that are cached for performance. We also have plans to have file mimetype support and icons. With that - we will easily be able to provide a file chooser dialog.

Yes, I think this is a duplicate of #225

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hajimehoshi picture hajimehoshi  路  9Comments

semyon-dev picture semyon-dev  路  4Comments

andydotxyz picture andydotxyz  路  9Comments

gazhayes picture gazhayes  路  8Comments

mhf-ir picture mhf-ir  路  6Comments