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)) }
func (h *Handle) SetAttributeHandle(name string, h_named IHandle) { cname := NewCS(name) defer FreeCS(cname) C.IupSetAttributeHandle(h.p, cname, toNative(h_named)) }