[0m


LISTRES(1)	    UNIX Programmer's Manual	       LISTRES(1)



[1mNAME
     [0mlistres - list resources in widgets

[1mSYNOPSIS
     listres [0m[-option ...]

[1mDESCRIPTION
     [0mThe _l_i_s_t_r_e_s 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 -_a_l_l switch are
     given, a two-column list of widget names and their class
     hierarchies is printed.

[1mOPTIONS
     [0m_L_i_s_t_r_e_s accepts all of the standard toolkit command line
     options along with those listed below:

     [1m-all    [0mThis option indicates that _l_i_s_t_r_e_s should print
	     information for all known widgets and objects.

     [1m-nosuper
	     [0mThis option indicates that resources that are inher-
	     ited from a superclass should not be listed.  This
	     is useful for determining which resources are new to
	     a subclass.

     [1m-variable
	     [0mThis option indicates that widgets should be identi-
	     fied by the names of the class record variables
	     rather than the class name given in the variable.
	     This is useful for distinguishing subclasses that
	     have the same class name as their superclasses.

     [1m-top [0m_n_a_m_e
	     This option specifies the name of the widget to be
	     treated as the top of the hierarchy.  Case is not
	     significant, and the name may match either the class
	     variable name or the class name.  The default is
	     ``core''.

     [1m-format [0m_p_r_i_n_t_f-_s_t_r_i_n_g
	     This option specifies the _p_r_i_n_t_f-style format string
	     to be used to print out the name, instance, class,
	     and type of each resource.

[1mX DEFAULTS
     [0mTo be written.

[1mSEE ALSO
     [0mX(1), xrdb(1), appropriate widget documents




Printed 24/1/92             Release 4				1






LISTRES(1)	    UNIX Programmer's Manual	       LISTRES(1)



[1mBUGS
     [0mOn operating systems that do not support dynamic linking of
     run-time routines, this program must have all of its known
     widgets compiled in.  The sources provide several tools for
     automating this process for various widget sets.

[1mCOPYRIGHT
     [0mCopyright 1989, Massachusetts Institute of Technology.
     See _X(_1) for a full statement of rights and permissions.

[1mAUTHOR
     [0mJim Fulton, MIT X Consortium











































Printed 24/1/92             Release 4				2



[0m