From c0676d483d57b24a6f91867a4db2cd869041b249 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 24 Feb 2018 11:14:10 +0200 Subject: [PATCH] Improve documentation of X resources * doc/emacs/xresources.texi (Table of Resources): Add menu-related resources. Add cross-references to "GTK Resources". --- doc/emacs/xresources.texi | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/doc/emacs/xresources.texi b/doc/emacs/xresources.texi index ee59551a6a6..a0de3134db7 100644 --- a/doc/emacs/xresources.texi +++ b/doc/emacs/xresources.texi @@ -216,6 +216,14 @@ Width of the internal frame border, in pixels. @cindex line spacing Additional space between lines, in pixels. +@ifnottex +@item @code{menuBackground} (class @code{Background}) +@cindex background for menus +The background color of the menus in non-toolkit versions of Emacs. +(For toolkit versions, see @ref{Lucid Resources}, also see @ref{Motif +Resources}, and see @ref{GTK Resources}.) +@end ifnottex + @item @code{menuBar} (class @code{MenuBar}) @cindex menu bar (X resource) If the value of this resource is @samp{off} or @samp{false} or @@ -229,6 +237,14 @@ will use a separate minibuffer frame instead. @item @code{paneFont} (class @code{Font}) @cindex font for menus Font name for menu pane titles, in non-toolkit versions of Emacs. +(For toolkit versions, see @ref{Lucid Resources}, also see @ref{Motif +Resources}, and see @ref{GTK Resources}.) + +@item @code{paneForeground} (class @code{Foreground}) +@cindex foreground for menus +Foreground color for menu pane titles, in non-toolkit versions of +Emacs. (For toolkit versions, see @ref{Lucid Resources}, also see +@ref{Motif Resources}, and see @ref{GTK Resources}.) @end ifnottex @item @code{pointerColor} (class @code{Foreground}) @@ -266,7 +282,12 @@ compiled with GTK+ support. @item @code{selectionFont} (class @code{SelectionFont}) Font name for pop-up menu items, in non-toolkit versions of Emacs. (For toolkit versions, see @ref{Lucid Resources}, also see @ref{Motif -Resources}.) +Resources}, and see @ref{GTK Resources}.) + +@item @code{selectionForeground} (class @code{SelectionForeground}) +Foreground color for pop-up menu items, in non-toolkit versions of +Emacs. (For toolkit versions, see @ref{Lucid Resources}, also see +@ref{Motif Resources}, and see @ref{GTK Resources}.) @item @code{selectionTimeout} (class @code{SelectionTimeout}) Number of milliseconds to wait for a selection reply. -- 2.39.2