1LISTRES(1) General Commands Manual LISTRES(1)
2
3
4
6 listres - list resources in widgets
7
9 listres [-option ...]
10
12 The listres program generates a list of a widget's resource database.
13 The class in which each resource is first defined, the instance and
14 class name, and the type of each resource is listed. If no specific
15 widgets or the -all switch are given, a two-column list of widget names
16 and their class hierarchies is printed.
17
19 Listres accepts all of the standard toolkit command line options along
20 with those listed below:
21
22 -all This option indicates that listres should print information for
23 all known widgets and objects.
24
25 -nosuper
26 This option indicates that resources that are inherited from a
27 superclass should not be listed. This is useful for determin‐
28 ing which resources are new to a subclass.
29
30 -variable
31 This option indicates that widgets should be identified by the
32 names of the class record variables rather than the class name
33 given in the variable. This is useful for distinguishing sub‐
34 classes that have the same class name as their superclasses.
35
36 -top name
37 This option specifies the name of the widget to be treated as
38 the top of the hierarchy. Case is not significant, and the
39 name may match either the class variable name or the class
40 name. The default is ``core''.
41
42 -format printf-string
43 This option specifies the printf-style format string to be used
44 to print out the name, instance, class, and type of each
45 resource.
46
48 To be written.
49
51 X(7), xrdb(1), appropriate widget documents
52
54 On operating systems that do not support dynamic linking of run-time
55 routines, this program must have all of its known widgets compiled in.
56 The sources provide several tools for automating this process for vari‐
57 ous widget sets.
58
60 Copyright 1994 X Consortium
61 See X(7) for a full statement of rights and permissions.
62
64 Jim Fulton, MIT X Consortium
65
66
67
68X Version 11 listres 1.0.4 LISTRES(1)