summaryrefslogtreecommitdiff
path: root/redo/dialog.go
blob: 877ccf24408e5a0b29df2d2b48231fe2a1646e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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)
// If possible on a given system, OpenFile() will not dereference links; it will return the link file itself.
func OpenFile() (filename string) {
	return openFile()
}