]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/display.texi
Document some changes about windows.
[gnu-emacs] / doc / lispref / display.texi
index 519d33f584415316ab7feaa338ec3666a2c8e1c5..496fbf87041d6ca0ac3dbe1a1dcfc30c96b0d4ba 100644 (file)
@@ -3849,6 +3849,12 @@ bar actually occupies.
 @var{horizontal-type} is not actually meaningful.
 @end defun
 
+@defun window-scroll-bar-width &optional window
+This function returns the width of @var{window}'s vertical scrollbar,
+in pixels.  @var{window} must be a live window.  If @var{window} is
+@code{nil} or omitted, it will be the selected window.
+@end defun
+
 If you don't specify these values for a window with
 @code{set-window-scroll-bars}, the buffer-local variables
 @code{scroll-bar-mode} and @code{scroll-bar-width} in the buffer being