code: func (win *Window) CheckboxText(text string, active *bool) bool {
  	state, bounds, fitting := win.widget()
  	if fitting != nil {
  		fitting(toggleWidth(text, toggleCheck, &win.ctx.Style.Checkbox, win.ctx.Style.Font))
  	}
  	if !state {
  		return false
  	}
  	in := win.inputMaybe(state)
  	old_active := *active
  	*active = doToggle(win, bounds, *active, text, toggleCheck, &win.ctx.Style.Checkbox, in, win.ctx.Style.Font)
  	return *active != old_active
  }
docs: // CheckboxText adds a checkbox button to win. Active will contain
  // the checkbox value.
  // Returns true when value changes.