11 lines
305 B
Go
11 lines
305 B
Go
// 18 august 2014
|
|
|
|
package ui
|
|
|
|
// OpenFile opens a dialog box that asks the user to choose a file.
|
|
// It returns the selected filename, or an empty string if no file was chosen.
|
|
// All events stop while OpenFile is executing. (TODO move to doc.go)
|
|
func OpenFile() (filename string) {
|
|
return openFile()
|
|
}
|