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

	C.IupResetAttribute((*C.Ihandle)(ih), cName)
}
Beispiel #2
0
func (h *Handle) ResetAttribute(name string) {
	cname := NewCS(name)
	defer FreeCS(cname)
	C.IupResetAttribute(h.p, cname)
}