2014-08-18 18:01:56 -05:00
|
|
|
// 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)
|
2014-08-25 15:23:00 -05:00
|
|
|
// If possible on a given system, OpenFile() will not dereference links; it will return the link file itself.
|
2014-08-18 18:01:56 -05:00
|
|
|
func OpenFile() (filename string) {
|
|
|
|
return openFile()
|
|
|
|
}
|