func main() { e := iup.Open() if e != nil { fmt.Println(e) return } defer iup.Close() fmt.Println("Hello go-iup!") mainui() }
func main() { e := iup.Open() if e != nil { fmt.Println(e) return } defer iup.Close() pad := new(Notepad).init() pad.NewFile() pad.dlg.Show() iup.MainLoop() }
func main() { e := iup.Open() if e != nil { fmt.Println(e) return } defer iup.Close() iupctls.Open() iuppplot.Open() iupimglib.Open() ui() }