code: func (win *Window) CustomState() nstyle.WidgetStates {
  	bounds := win.WidgetBounds()
  	s := true
  	if !win.layout.Clip.Intersect(&bounds) {
  		s = false
  	}
  
  	ws := win.widgets.PrevState(bounds)
  	basicWidgetStateControl(&ws, win.inputMaybe(s), bounds)
  	return ws
  }
docs: // CustomState returns the widget state of a custom widget.