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

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

	ui()
}