# HG changeset patch # User Eli Zaretskii # Date 1000392228 0 # Node ID 155c7b5e0c02d705ff88f9eb207a3dbc08ec524c # Parent ed6d73267f1dc3c8c7765ef07c92ef8f6012ad0f (LessTif Resources): Describe more resources. diff -r ed6d73267f1d -r 155c7b5e0c02 man/cmdargs.texi --- a/man/cmdargs.texi Thu Sep 13 14:06:10 2001 +0000 +++ b/man/cmdargs.texi Thu Sep 13 14:43:48 2001 +0000 @@ -1217,7 +1217,7 @@ @end table @node Lucid Resources -@section Lucid Menu X Resources +@appendixsec Lucid Menu X Resources @cindex Menu X Resources (Lucid widgets) @cindex Lucid Widget X Resources @@ -1286,16 +1286,19 @@ @end table @node LessTif Resources -@section LessTif Menu X Resources +@appendixsec LessTif Menu X Resources @cindex Menu X Resources (LessTif widgets) @cindex LessTif Widget X Resources 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 -widget and has its own resources. The resource names 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: +with the LessTif or Motif widgets, then the menu bar, the dialog +boxes, the pop-up menus, and the file-selection box are separate +widgets and have their own resources. + + 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 Emacs.pane.menubar.@var{subwidget}.@var{resource}: @var{value} @@ -1364,7 +1367,7 @@ @end smallexample @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 the pop-up menu items, write this: @@ -1372,10 +1375,26 @@ Emacs.menu*.fontList: 8x16 @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 @medbreak @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 @item armColor