ncruces / zenity

Zenity dialogs for Golang, Windows, macOS
https://pkg.go.dev/github.com/ncruces/zenity
MIT License
736 stars 37 forks source link

Is it possible to support selecting folders instead of files? #80

Closed typ431127 closed 1 year ago

typ431127 commented 1 year ago

Is it possible to support selecting folders instead of files? I want to select folders

typ431127 commented 1 year ago

I found the solution spath, _ := zenity.SelectFileMultiple(zenity.Filename(dirPath), zenity.Directory())