code: func DeactivateControls(parent Control) {
  	for _, ctrl := range parent.Children() {
  		if ctrl.Active() {
  			ctrl.SetActive(false)
  			ctrl.ProcessEvent(Event{Type: EventActivate, X: 0})
  		}
  
  		DeactivateControls(ctrl)
  	}
  }
docs: // DeactivateControls makes all children of parent inactive