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

	return (*Ihandle)(C.IupGetAttributeHandle((*C.Ihandle)(ih), cName))
}
Beispiel #2
0
func (h *Handle) GetAttributeHandle(name string) IHandle {
	cname := NewCS(name)
	defer FreeCS(cname)
	return toHandle(C.IupGetAttributeHandle(h.p, cname))
}