예제 #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)
}