.TH appres "" "" "X Utility"
.PC "List an application's resource data base"
.\"\fBappres [[\fIclass \fB[\fIinstance\fB]] [\-1] [\fItoolkitoptions\^\fB]\fR
\fBappres [[\fIclass \fB[\fIinstance\fB]] [\-1]\fR
.PP
.II "resource^print"
.B appres
prints the resources that are seen by an application
(or subhierarchy of an application) and have
.I class
and
.IR instance .
You can use it to determine which resources a particular program will load.
For example, the command
.DM
	appres XTerm
.DE
.PP
lists the resources that the command
.B xterm
loads.
If you specify no application class,
.B appres
uses the class
.BR AppResTest .
.PP
To match a particular instance name, specify that name
explicitly after the class name; for example:
.DM
	appres XTerm myxterm
.DE
.\".PP
.\"or
.\".DM
.\"	appres XTerm -name myxterm
.\".DE
.PP
To list resources that match a subhierarchy of an application,
name the hierarchical classes and instance names.
The number of class and instance components must be equal.
.\"The number of class and instance components must be equal,
.\"and the instance name should not be specified with a toolkit option.
.\"For example, the command
.\".DM
.\"	appres Xman.TopLevelShell.Form xman.topBox.form
.\".DE
.\".PP
.\"lists the resources of widgets of \fBxman\fR topBox hierarchy.
To list just the resources that match a specific level in the hierarchy,
use the option
.BR \-1 .
For example, the command
.DM
	appres XTerm.VT100 xterm.vt100 -1
.DE
.PP
lists the resources that match the
.B xterm
widget
.BR vt100 .
.SH "See Also"
.B
xprop,
xrdb,
X utilities,
xwininfo
.R
.SH Notes
Copyright \(co 1989, Massachusetts Institute of Technology.
.PP
.II "Fulton, Jim"
.B appres
was written by Jim Fulton of the MIT X Consortium.
