Linux "listres" Command Line Options and Examples
list resources in widgets

The listres program generates a list of a widget's resource database. The class in which each resource is first defined, the instance and class name, and the type of each resource is listed. If no specific widgets or the -all switch are given, a two-column list of widget names and their class hierarchies is printed.


Usage:

listres [-option ...]




Command Line Options:

-all
This option indicates that listres should print information for all known widgets and objects.
listres -all ...
-nosuper
This option indicates that resources that are inherited from a superclass should not be listed. This is useful for determin‐ing which resources are new to a subclass.
listres -nosuper ...
-variable
This option indicates that widgets should be identified by the names of the class record variables rather than the class namegiven in the variable. This is useful for distinguishing subclasses that have the same class name as their superclasses.
listres -variable ...
-top
This option specifies the name of the widget to be treated as the top of the hierarchy. Case is not significant, and thename may match either the class variable name or the class name. The default is ``core''.
listres -top ...
-format
This option specifies the printf-style format string to be used to print out the name, instance, class, and type of eachresource.X DEFAULTSTo be written.
listres -format ...