Path: utzoo!attcan!uunet!kddlab!titcca!sragwa!srava!erik From: erik@srava.sra.JUNET (Erik M. van der Poel) Newsgroups: comp.windows.x Subject: At-a-glance Keywords: quick reference Message-ID: <2198@srava.sra.JUNET> Date: 25 May 89 05:53:25 GMT Reply-To: erik%sra.junet@uunet.uu.net (Erik M. van der Poel) Organization: Software Research Associates, Inc., Japan Lines: 53 The last few pages of the book The Definitive Guides to the X Window System Volume Two - Xlib Reference Manual (for Version 11) O'Reilly & Associates, Inc. contain extremely useful quick reference "At-a-glance" tables about window attributes and GC's. A quick reference card that we have found helpful here is one that explains how the X resource database is loaded. I am posting it in the hope that others may find it handy. --- Start --- For clients using the R3 X Toolkit, the resource database is loaded and merged in the following order. 1. /usr/lib/X11/app-defaults/ 2. if XAPPLRESDIR set $XAPPLRESDIR/ else / 3. if server's RESOURCE_MANAGER property set (by xrdb) contents of RESOURCE_MANAGER else /.Xdefaults 4. if XENVIRONMENT set $XENVIRONMENT else /.Xdefaults- 5. command line (e.g. -geometry, -xrm) --- End --- The above information is the sort of thing you want to give to beginners who are baffled when their .Xdefaults files don't seem to work since they are (also) using xrdb without knowing about it. An at-a-glance card that I would really like to have is one that indicates which GC values are used by each drawing function. What I have in mind is a 2-dimensional table with the GC members along the top and the drawing functions down the left side. The entries could be * to mean that it is used, ? to mean "depending on function", and space for not used. Has anyone got something like that? -- Erik M. van der Poel erik@sra.junet (Japan) SRA, 1-1-1 Hirakawa-cho, Chiyoda-ku erik%sra.junet@uunet.uu.net (USA) Tokyo 102 Japan. TEL +81-3-234-2692 erik%sra.junet@mcvax.uucp (Europe)