window-margins
window-margins is a built-in function in `C source code
'.
(window-margins &optional WINDOW)
Get width of marginal areas of window WINDOW.
WINDOW must be a live window and defaults to the selected one.
Value is a cons of the form (LEFT-WIDTH . RIGHT-WIDTH).
If a marginal area does not exist, its width will be returned
as nil.