func GetIntId(ih *Ihandle, name string, id int) int { cName := C.CString(name) defer C.free(unsafe.Pointer(cName)) return int(C.IupGetIntId((*C.Ihandle)(ih), cName, C.int(id))) }
func (h *Handle) GetIntId(name string, id int) int { cname := NewCS(name) defer FreeCS(cname) return int(C.IupGetIntId(h.p, cname, C.int(id))) }