# File window.rb, line 32
  def state=(val)
    @state.end
    @state = val
    @state.start
  end