func SetAttributes(ih *Ihandle, values string) { cValues := C.CString(values) defer C.free(unsafe.Pointer(cValues)) C.IupSetAttributes((*C.Ihandle)(ih), cValues) }
func (h *Handle) SetAttributes(values string) { cvalues := NewCS(values) defer FreeCS(cvalues) C.IupSetAttributes(h.p, cvalues) }