Beispiel #1
0
func SetAttributes(ih *Ihandle, values string) {
	cValues := C.CString(values)
	defer C.free(unsafe.Pointer(cValues))

	C.IupSetAttributes((*C.Ihandle)(ih), cValues)
}
Beispiel #2
0
func (h *Handle) SetAttributes(values string) {
	cvalues := NewCS(values)
	defer FreeCS(cvalues)
	C.IupSetAttributes(h.p, cvalues)
}