def header_handle_key ch   #:nodoc:
      # TODO pressing = should revert to calculated size ?
      col = _convert_curpos_to_column
      #width = @cw[col] 
      width = @pw[col] || @cw[col] 
      #alert "got width #{width}, #{@cw[col]} "
      # NOTE: we are setting pw and chash but paint picks from cw
      # TODO check for multiplier too
      case ch
      when ?-.getbyte(0)
        column_width col, width-1
        # if this event has not been used in a sample it could change in near future
        e = ColumnResizeEvent.new self, col,  :DECREASE
        fire_handler :COLUMN_RESIZE_EVENT, e
        # can fire_hander so user can resize another column
        return 0
      when ?\+.getbyte(0)
        column_width col, width+1
        # if this event has not been used in a sample it could change in near future
        e = ColumnResizeEvent.new self, col,  :INCREASE
        return 0
      end
      return :UNHANDLED
    end
def header_handle_key ch   #:nodoc:
      # TODO pressing = should revert to calculated size ?
      col = _convert_curpos_to_column
      #width = @cw[col] 
      width = @pw[col] || @cw[col] 
      #alert "got width #{width}, #{@cw[col]} "
      # NOTE: we are setting pw and chash but paint picks from cw
      # TODO check for multiplier too
      case ch
      when ?-.getbyte(0)
        column_width col, width-1
        # if this event has not been used in a sample it could change in near future
        e = ColumnResizeEvent.new self, col,  :DECREASE
        fire_handler :COLUMN_RESIZE_EVENT, e
        # can fire_hander so user can resize another column
        return 0
      when ?\+.getbyte(0)
        column_width col, width+1
        # if this event has not been used in a sample it could change in near future
        e = ColumnResizeEvent.new self, col,  :INCREASE
        return 0
      end
      return :UNHANDLED
    end
allow header to handle keys
 NOTE: header could become an object in near future
 We are calling a resize event and passing column index but do we really
 have a column object that user can access and do something with ?? XXX