Exemple #1
0
func main() {
	e := iup.Open()
	if e != nil {
		fmt.Println(e)
		return
	}
	defer iup.Close()
	fmt.Println("Hello go-iup!")
	mainui()
}
Exemple #2
0
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()
}
Exemple #3
0
func main() {
	e := iup.Open()
	if e != nil {
		fmt.Println(e)
		return
	}
	defer iup.Close()

	iupctls.Open()
	iuppplot.Open()
	iupimglib.Open()

	ui()
}