Skip to content

Instantly share code, notes, and snippets.

@zhangfuwen
Created November 1, 2016 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhangfuwen/56785fa8752ede958df4d7003db0ec90 to your computer and use it in GitHub Desktop.
Save zhangfuwen/56785fa8752ede958df4d7003db0ec90 to your computer and use it in GitHub Desktop.
create a save file dialog via libui
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