def repaint
        r,c = rowcol
        #@bgcolor ||= $def_bg_color # moved down 2011-11-5 
        #@color   ||= $def_fg_color
        _bgcolor = bgcolor()
        _color = color()
        $log.debug("widget repaint : r:#{r} c:#{c} col:#{_color}" )
        value = getvalue_for_paint
        len = @width || value.length
        acolor = @color_pair || get_color($datacolor, _color, _bgcolor)
        @graphic.printstring r, c, "%-*s" % [len, value], acolor, attr()
        # next line should be in same color but only have @att so we can change att is nec
        #@form.window.mvchgat(y=r, x=c, max=len, Ncurses::A_NORMAL, @bgcolor, nil)
    end
def repaint
        r,c = rowcol
        #@bgcolor ||= $def_bg_color # moved down 2011-11-5 
        #@color   ||= $def_fg_color
        _bgcolor = bgcolor()
        _color = color()
        $log.debug("widget repaint : r:#{r} c:#{c} col:#{_color}" )
        value = getvalue_for_paint
        len = @width || value.length
        acolor = @color_pair || get_color($datacolor, _color, _bgcolor)
        @graphic.printstring r, c, "%-*s" % [len, value], acolor, attr()
        # next line should be in same color but only have @att so we can change att is nec
        #@form.window.mvchgat(y=r, x=c, max=len, Ncurses::A_NORMAL, @bgcolor, nil)
    end
default repaint method. Called by form for all widgets.
  widget does not have display_length.