comparison lispref/display.texi @ 53929:3ef7a4a3c230

(Fringes): Use consistent wording. Note that window-fringe's window arg is optional. (Scroll Bars): Use consistent wording.
author Kim F. Storm <storm@cua.dk>
date Thu, 12 Feb 2004 12:21:52 +0000
parents 83980e864dd7
children 3a7432ab26ae
comparison
equal deleted inserted replaced
53928:eb040f78a72a 53929:3ef7a4a3c230
2561 buffer in a window. If you change them while the buffer is visible, 2561 buffer in a window. If you change them while the buffer is visible,
2562 you can call @code{set-window-buffer} to display it in a window again. 2562 you can call @code{set-window-buffer} to display it in a window again.
2563 2563
2564 @defun set-window-fringes window left &optional right outside-margins 2564 @defun set-window-fringes window left &optional right outside-margins
2565 This function sets the fringe widthes of window @var{window}. 2565 This function sets the fringe widthes of window @var{window}.
2566 If window is @code{nil}, that stands for the selected window. 2566 If @var{window} is @code{nil}, the selected window is used.
2567 2567
2568 The argument @var{left} specifies the width in pixels of the left 2568 The argument @var{left} specifies the width in pixels of the left
2569 fringe, and likewise @var{right} for the right fringe. A value of 2569 fringe, and likewise @var{right} for the right fringe. A value of
2570 @code{nil} for either one stands for the default width. If 2570 @code{nil} for either one stands for the default width. If
2571 @var{outside-margins} is non-@code{nil}, that specifies that fringes 2571 @var{outside-margins} is non-@code{nil}, that specifies that fringes
2572 should appear outside of the display margins. 2572 should appear outside of the display margins.
2573 @end defun 2573 @end defun
2574 2574
2575 @defun window-fringes window 2575 @defun window-fringes &optional window
2576 This function returns information about the fringes of a window 2576 This function returns information about the fringes of a window
2577 @var{window}. The value has the form @code{(@var{left-width} 2577 @var{window}. If @var{window} is omitted or @code{nil}, the selected
2578 window is used. The value has the form @code{(@var{left-width}
2578 @var{right-width} @var{frames-outside-margins})}. 2579 @var{right-width} @var{frames-outside-margins})}.
2579 @end defun 2580 @end defun
2580 2581
2581 @node Scroll Bars 2582 @node Scroll Bars
2582 @section Scroll Bars 2583 @section Scroll Bars
2589 2590
2590 You can also control this for individual windows. Call the function 2591 You can also control this for individual windows. Call the function
2591 @code{set-window-scroll-bars} to specify what to do for a specific window: 2592 @code{set-window-scroll-bars} to specify what to do for a specific window:
2592 2593
2593 @defun set-window-scroll-bars window width &optional vertical-type horizontal-type 2594 @defun set-window-scroll-bars window width &optional vertical-type horizontal-type
2594 Set width and type of scroll bars of window @var{window}. (If 2595 Set width and type of scroll bars of window @var{window}.
2595 @var{window} is @code{nil}, this applies to the selected window.) 2596 If @var{window} is @code{nil}, the selected window is used.
2596 @var{width} specifies the scroll bar width in pixels (@code{nil} means 2597 @var{width} specifies the scroll bar width in pixels (@code{nil} means
2597 use whatever is specified for width for the frame). 2598 use whatever is specified for width for the frame).
2598 @var{vertical-type} specifies whether to have a vertical scroll bar 2599 @var{vertical-type} specifies whether to have a vertical scroll bar
2599 and, if so, where. The possible values are @code{left}, @code{right} 2600 and, if so, where. The possible values are @code{left}, @code{right}
2600 and @code{nil}, just like the values of the 2601 and @code{nil}, just like the values of the
2605 implemented, it has no effect. 2606 implemented, it has no effect.
2606 @end defun 2607 @end defun
2607 2608
2608 @defun window-scroll-bars &optional window 2609 @defun window-scroll-bars &optional window
2609 Report the width and type of scroll bars specified for @var{window}. 2610 Report the width and type of scroll bars specified for @var{window}.
2610 If @var{window} is omitted or @code{nil}, it defaults to the currently 2611 If @var{window} is omitted or @code{nil}, the selected window is used.
2611 selected window. The value is a list of the form @code{(@var{width} 2612 The value is a list of the form @code{(@var{width}
2612 @var{cols} @var{vertical-type} @var{horizontal-type})}. The value 2613 @var{cols} @var{vertical-type} @var{horizontal-type})}. The value
2613 @var{width} is the value that was specified for the width (which may 2614 @var{width} is the value that was specified for the width (which may
2614 be @code{nil}); @var{cols} is the number of columns that the scroll 2615 be @code{nil}); @var{cols} is the number of columns that the scroll
2615 bar actually occupies. 2616 bar actually occupies.
2616 2617