NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xresoureces



> XTerm.fontMenu.background: Magenta
> XTerm.fontMenu*Foreground: Blue4
>
> How do I make the current GUI larger -- easier to read.

Pick your poison:

XTerm.*.SmeBSB.font:  -*-lucidatypewriter-*-*-*-*-*-240-*-*-*-*-*-*

will apply to all popup menues, not just the fontMenu.  Constrain
it further if you want the latter.

In this case xterm's excellent man page gave me a hint what to look for:

   Menu Resources
       The resources that may be specified for the various menus are described
       in the documentation for the Athena SimpleMenu widget.

Xaw(3) describes a few Athena/Toolkit widget classes and their resources
but falls short on the SimpleMenu details.  I am currently away from my
X11-equipped boxes so I cannot check if or how this file from the xsrc
tree

https://cvsweb.netbsd.org/bsdweb.cgi/xsrc/external/mit/libXaw/dist/specs/SimpleMenu.xml?rev=1.1.1.3

makes it into a man page.

So I just googled  for a copy of the X Toolkit Programming Manual, found

	https://lesstif.sourceforge.net/doc/super-ux/g1ae03e/part2/chap4.html

and located the needed info there.

In general, editres(1) lets you easily discover and navigate to any
widget/resource setting of a standard X11 application.

I'm bit confused at the moment myself:   yesterday, on my Debian Desktop,
editres would should me xterm's entire widget hierarchy including the
popup menues.  Today, on my office FreeBSD desktop, I don't get the
popup widgets shown.  And in this case one wants to click-navigate to
a popup-menue which needs to be clicked itself -- a Catch22 situation.

At any rate:  I suggest to give X(7) several proper reads to find your
ways around.

						Martin Neitzel


Home | Main Index | Thread Index | Old Index