[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The functions in this section describe the basic capabilities of a particular display. Lisp programs can use them to adapt their behavior to what the display can do. For example, a program that ordinarly uses a popup menu could use the minibuffer if popup menus are not supported.
The optional argument display in these functions specifies which
display to ask the question about. It can be a display name, a frame
(which designates the display that frame is on), or nil
(which
refers to the selected frame's display, see section 29.9 Input Focus).
See section 29.19 Color Names, 29.20 Text Terminal Colors, for other functions to obtain information about displays.
t
if popup menus are supported on
display, nil
if not. Support for popup menus requires that
the mouse be available, since the user cannot choose menu items without
a mouse.
t
if display is a graphic display
capable of displaying several frames and several different fonts at
once. This is true for displays that use a window system such as X, and
false for text-only terminals.
t
if display has a mouse available,
nil
if not.
t
if the screen is a color screen.
It used to be called x-display-color-p
, and that name
is still supported as an alias.
t
if the screen can display shades of gray.
(All color displays can do this.)
t
if display supports selections.
Windowed displays normally support selections, but they may also be
supported in some other cases.
t
if display can display images.
Windowed displays ought in principle to handle images, but some
systems lack the support for that. On a display that does not support
images, Emacs cannot display a tool bar.
nil
if Emacs cannot get that information.
nil
if Emacs cannot get that information.
Values can be the symbols always
, when-mapped
, or
not-useful
. The function can also return nil
when the question is inapplicable to a certain kind of display.
nil
if the display supports the
SaveUnder feature. That feature is used by pop-up windows
to save the pixels they obscure, so that they can pop down
quickly.
static-gray
, gray-scale
,
static-color
, pseudo-color
, true-color
, and
direct-color
.
These functions obtain additional information specifically about X displays.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |