mouse-drag-line

mouse-drag-line is a compiled Lisp function in `mouse.el'.

(mouse-drag-line START-EVENT LINE)

Drag a mode line, header line, or vertical line with the mouse.
START-EVENT is the starting mouse-event of the drag action. LINE
must be one of the symbols `header', `mode', or `vertical'.