Beispiel #1
0
func LoadImage(filename string) *iup.Handle {
	cname := iup.NewCS(filename)
	defer iup.FreeCS(cname)
	return iup.NewHandle(C.IupLoadImage((*C.char)(cname)))
}
Beispiel #2
0
func OleControl(progid string) *iup.Handle {
	id := iup.NewCS(progid)
	defer iup.FreeCS(id)
	return iup.NewHandle(C.IupOleControl((*C.char)(id)))
}