code: func (win *Window) PropertyInt(name string, min int, val *int, max, step, inc_per_pixel int) (changed bool) {
  	s, bounds, fitting := win.widget()
  	if fitting != nil {
  		fitting(propertyWidth(max, &win.ctx.Style.Property, win.ctx.Style.Font))
  	}
  	if !s {
  		return
  	}
  	in := win.inputMaybe(s)
  	text := strconv.Itoa(*val)
  	ret, delta, ed := win.doProperty(bounds, name, text, FilterDecimal, in)
  	switch ret {
  	case doPropertyDec:
  		*val -= step
  	case doPropertyInc:
  		*val += step
  	case doPropertyDrag:
  		*val += delta * inc_per_pixel
  	case doPropertySet:
  		*val, _ = strconv.Atoi(string(ed.Buffer))
  	}
  	changed = ret != doPropertyStay
  	if changed {
  		*val = clampInt(min, *val, max)
  	}
  	return
  }
docs: // Same as PropertyFloat but with integer values.