def colors=(c)
      @colors = c.is_a?(ColorPair) ? c : ColorPair.for(c).first
      @win.bkgd(Ncurses.COLOR_PAIR(@colors.id)) unless @win.nil?

      component.colors = @colors if component?

      children.each { |ch|
        ch.colors = c
      }
    end
def colors=(c)
      @colors = c.is_a?(ColorPair) ? c : ColorPair.for(c).first
      @win.bkgd(Ncurses.COLOR_PAIR(@colors.id)) unless @win.nil?

      component.colors = @colors if component?

      children.each { |ch|
        ch.colors = c
      }
    end
Set window color