Created
November 1, 2016 13:38
-
-
Save zhangfuwen/56785fa8752ede958df4d7003db0ec90 to your computer and use it in GitHub Desktop.
create a save file dialog via libui
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/andlabs/ui" | |
) | |
func main() { | |
ui.Main(func() { | |
w := ui.NewWindow("ss", 0, 0, false) | |
w.Show() | |
fmt.Println(ui.SaveFile(w)) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment