Only those resources that have been modified are displayed. Another very useful program that comes with the X distribution is editres . Editres can be used to interactively modify the resources of a particular program. Note that it won't look exactly like Figure 1, because I've modified my resources for editres. Figure 1. editres, an interactive X resource editor All widgets are laid out in a tree-like fashion, with the parent widgets on the left, and their children progressing to the right.
Lines connect children to parents.
You can use the box in the upper-left corner of editres to move the display around if the widget tree is larger than the window itself. A popup box with all the available resources for the widget selected will be displayed, as shown in Figure 2. In the Resource Box, select a resource with the mouse, and then enter a value for the resource in the text field below. This is perhaps the easiest way to both find the names of the resources and experiment with setting them to different values. Ascreen from editres showing the resource display screen You can also make the resource string more loosely or tightly bound by adjusting which fields are highlighted at the top of the popup window.