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

	C.IupSetAttributes((*C.Ihandle)(ih), cValues)
}
示例#2
0
文件: handle.go 项目: visualfc/go-iup
func (h *Handle) SetAttributes(values string) {
	cvalues := NewCS(values)
	defer FreeCS(cvalues)
	C.IupSetAttributes(h.p, cvalues)
}