Exemplo n.º 1
0
func SetAttributeHandle(ih *Ihandle, name string, ihNamed *Ihandle) {
	cName := C.CString(name)
	defer C.free(unsafe.Pointer(cName))

	C.IupSetAttributeHandle((*C.Ihandle)(ih), cName, (*C.Ihandle)(ihNamed))
}
Exemplo n.º 2
0
func (h *Handle) SetAttributeHandle(name string, h_named IHandle) {
	cname := NewCS(name)
	defer FreeCS(cname)
	C.IupSetAttributeHandle(h.p, cname, toNative(h_named))
}