Support OpenDialog

This commit is contained in:
Lea Anthony
2020-09-26 16:08:55 +10:00
parent bed5619d4e
commit 9b0f58ddf5
6 changed files with 15 additions and 15 deletions

View File

@@ -76,9 +76,9 @@ func (r *RuntimeTest) SaveFile(title string, filter string) string {
return r.runtime.Dialog.SaveFile(title, filter)
}
// SelectDirectory will call the Runtime.Dialog.OpenDirectory method
func (r *RuntimeTest) SelectDirectory(title string, filter string) []string {
return r.runtime.Dialog.SelectDirectory(title, filter)
// OpenDialog will call the Runtime.Dialog.OpenDirectory method
func (r *RuntimeTest) OpenDialog(title string, filter string) []string {
return r.runtime.Dialog.OpenDialog(title, filter)
}
// HideWindow will call the Runtime.Window.Hide method and then call