25 |
* Faces:: A face defines a graphics style for text characters: |
* Faces:: A face defines a graphics style for text characters: |
26 |
font, colors, etc. |
font, colors, etc. |
27 |
* Fringes:: Controlling window fringes. |
* Fringes:: Controlling window fringes. |
28 |
|
* Scroll Bars:: Controlling vertical scroll bars. |
29 |
* Display Property:: Enabling special display features. |
* Display Property:: Enabling special display features. |
30 |
* Images:: Displaying images in Emacs buffers. |
* Images:: Displaying images in Emacs buffers. |
31 |
* Blinking:: How Emacs shows the matching open parenthesis. |
* Blinking:: How Emacs shows the matching open parenthesis. |
2478 |
Chinese GB2312 characters has a wild card @samp{*} in the @var{family} |
Chinese GB2312 characters has a wild card @samp{*} in the @var{family} |
2479 |
field. |
field. |
2480 |
|
|
2481 |
|
@defun char-displayable-p char |
2482 |
|
This function returns @code{t} if Emacs ought to be able to display |
2483 |
|
@var{char}. More precisely, if the selected frame's fontset has a |
2484 |
|
font to display the character set that @var{char} belongs to. |
2485 |
|
|
2486 |
|
Fontsets can specify a font on a per-character basis; when the fontset |
2487 |
|
does that, this function's value may not be accurate. |
2488 |
|
@end defun |
2489 |
|
|
2490 |
@node Fringes |
@node Fringes |
2491 |
@section Fringes |
@section Fringes |
2492 |
@cindex Fringes |
@cindex Fringes |
2535 |
@var{right-width} @var{frames-outside-margins})}. |
@var{right-width} @var{frames-outside-margins})}. |
2536 |
@end defun |
@end defun |
2537 |
|
|
2538 |
|
@node Scroll Bars |
2539 |
|
@section Scroll Bars |
2540 |
|
|
2541 |
|
Normally the frame parameter @code{vertical-scroll-bars} controls |
2542 |
|
whether the windows in the frame have vertical scroll bars. A |
2543 |
|
non-@code{nil} parameter value means they do. The frame parameter |
2544 |
|
@code{scroll-bar-width} specifies how wide they are (@code{nil} |
2545 |
|
meaning the default). @xref{Window Frame Parameters}. |
2546 |
|
|
2547 |
|
You can also control this for individual windows. Call the function |
2548 |
|
@code{set-window-scroll-bars} to specify what to do for a specific window: |
2549 |
|
|
2550 |
|
@defun set-window-scroll-bars window width &optional vertical-type horizontal-type |
2551 |
|
Set width and type of scroll bars of window @var{window}. (If |
2552 |
|
@var{window} is @code{nil}, this applies to the selected window.) |
2553 |
|
@var{width} specifies the scroll bar width in pixels (@code{nil} means |
2554 |
|
use whatever is specified for width for the frame). |
2555 |
|
@var{vertical-type} specifies whether to have a vertical scroll bar |
2556 |
|
and, if so, where. The possible values are @code{left}, @code{right} |
2557 |
|
and @code{nil}, just like the values of the |
2558 |
|
@code{vertical-scroll-bars} frame parameter. |
2559 |
|
|
2560 |
|
The argument @var{horizontal-type} is meant to specify whether and |
2561 |
|
where to have horizontal scroll bars, but since they are not |
2562 |
|
implemented, it has no effect. |
2563 |
|
@end defun |
2564 |
|
|
2565 |
|
@defun window-scroll-bars &optional window |
2566 |
|
Report the width and type of scroll bars specified for @var{window}. |
2567 |
|
If @var{window} is omitted or @code{nil}, it defaults to the currently |
2568 |
|
selected window. The value is a list of the form @code{(@var{width} |
2569 |
|
@var{cols} @var{vertical-type} @var{horizontal-type})}. The value |
2570 |
|
@var{width} is the value that was specified for the width (which may |
2571 |
|
be @code{nil}); @var{cols} is the number of columns that the scroll |
2572 |
|
bar actually occupies. |
2573 |
|
|
2574 |
|
@var{horizontal-type} is not actually meaningful. |
2575 |
|
@end defun |
2576 |
|
|
2577 |
|
If you don't specify these values for a window with |
2578 |
|
@code{set-window-scroll-bars}, the buffer-local variables |
2579 |
|
@code{scroll-bar-mode} and @code{scroll-bar-width} in the buffer being |
2580 |
|
displayed control the window's vertical scroll bars. The function |
2581 |
|
@code{set-window-buffer} examines these variables. If you change them |
2582 |
|
in a buffer that is already visible in a window, you can make the |
2583 |
|
window take note of the new values by calling @code{set-window-buffer} |
2584 |
|
specifying the same buffer that is already displayed. |
2585 |
|
|
2586 |
@node Display Property |
@node Display Property |
2587 |
@section The @code{display} Property |
@section The @code{display} Property |
2588 |
@cindex display specification |
@cindex display specification |