示例#1
0
func ResetAttribute(ih *Ihandle, name string) {
	cName := C.CString(name)
	defer C.free(unsafe.Pointer(cName))

	C.IupResetAttribute((*C.Ihandle)(ih), cName)
}
示例#2
0
文件: handle.go 项目: visualfc/go-iup
func (h *Handle) ResetAttribute(name string) {
	cname := NewCS(name)
	defer FreeCS(cname)
	C.IupResetAttribute(h.p, cname)
}