Commit 48c1cde9 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(LessTif Resources): Describe more resources.

parent 620c4704
...@@ -1217,7 +1217,7 @@ Whether to draw the characters in the face @var{face} as italic. ...@@ -1217,7 +1217,7 @@ Whether to draw the characters in the face @var{face} as italic.
@end table @end table
@node Lucid Resources @node Lucid Resources
@section Lucid Menu X Resources @appendixsec Lucid Menu X Resources
@cindex Menu X Resources (Lucid widgets) @cindex Menu X Resources (Lucid widgets)
@cindex Lucid Widget X Resources @cindex Lucid Widget X Resources
...@@ -1286,16 +1286,19 @@ menu bar appear like the LessTif/Motif one. ...@@ -1286,16 +1286,19 @@ menu bar appear like the LessTif/Motif one.
@end table @end table
@node LessTif Resources @node LessTif Resources
@section LessTif Menu X Resources @appendixsec LessTif Menu X Resources
@cindex Menu X Resources (LessTif widgets) @cindex Menu X Resources (LessTif widgets)
@cindex LessTif Widget X Resources @cindex LessTif Widget X Resources
If the Emacs installed at your site was built to use the X toolkit If the Emacs installed at your site was built to use the X toolkit
with the LessTif or Motif widgets, then the menu bar is a separate with the LessTif or Motif widgets, then the menu bar, the dialog
widget and has its own resources. The resource names contain boxes, the pop-up menus, and the file-selection box are separate
@samp{pane.menubar} (following, as always, the name of the Emacs widgets and have their own resources.
invocation, or @samp{Emacs}, which stands for all Emacs invocations).
Specify them like this: The resource names for the menu bar contain @samp{pane.menubar}
(following, as always, the name of the Emacs invocation, or
@samp{Emacs}, which stands for all Emacs invocations). Specify them
like this:
@smallexample @smallexample
Emacs.pane.menubar.@var{subwidget}.@var{resource}: @var{value} Emacs.pane.menubar.@var{subwidget}.@var{resource}: @var{value}
...@@ -1364,7 +1367,7 @@ Emacs.pane.menubar.popup_*.fontList: 8x16 ...@@ -1364,7 +1367,7 @@ Emacs.pane.menubar.popup_*.fontList: 8x16
@end smallexample @end smallexample
@noindent @noindent
For toolkit pop-up menus, use @samp{menu*} instead of For LessTif pop-up menus, use @samp{menu*} instead of
@samp{pane.menubar}. For example, to specify the font @samp{8x16} for @samp{pane.menubar}. For example, to specify the font @samp{8x16} for
the pop-up menu items, write this: the pop-up menu items, write this:
...@@ -1372,10 +1375,26 @@ the pop-up menu items, write this: ...@@ -1372,10 +1375,26 @@ the pop-up menu items, write this:
Emacs.menu*.fontList: 8x16 Emacs.menu*.fontList: 8x16
@end smallexample @end smallexample
@noindent
For LessTif dialog boxes, use @samp{dialog} instead of @samp{menu}:
@example
Emacs.dialog*.fontList: 8x16
Emacs.dialog*.foreground: hotpink
@end example
To specify resources for the LessTif file-selection box, use
@samp{fsb*}, like this:
@example
Emacs.fsb*.fontList: 8x16
@end example
@iftex @iftex
@medbreak @medbreak
@end iftex @end iftex
Here is a list of the specific resources for menu bars and pop-up menus: Here is a list of the specific resources for LessTif menu bars and
pop-up menus:
@table @code @table @code
@item armColor @item armColor
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment