Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

listres (1)

Name

listres - list resources in widgets

Synopsis

listres [-option ...]

Description

LISTRES(1)                  General Commands Manual                 LISTRES(1)



NAME
       listres - list resources in widgets

SYNOPSIS
       listres [-option ...]

DESCRIPTION
       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.

OPTIONS
       Listres  accepts all of the standard toolkit command line options along
       with those listed below:

       -all    This option indicates that listres should print information for
               all known widgets and objects.

       -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.

       -variable
               This  option indicates that widgets should be identified by the
               names of the class record variables rather than the class  name
               given  in the variable.  This is useful for distinguishing sub-
               classes that have the same class name as their superclasses.

       -top name
               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''.

       -format printf-string
               This option specifies the printf-style format string to be used
               to print out the  name,  instance,  class,  and  type  of  each
               resource.

X DEFAULTS
       To be written.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE       |
       +---------------+---------------------------+
       |Availability   | x11/xt-resource-utilities |
       +---------------+---------------------------+
       |Stability      | Volatile                  |
       +---------------+---------------------------+
SEE ALSO
       X(7), xrdb(1), appropriate widget documents

BUGS
       On  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 vari-
       ous widget sets.

COPYRIGHT
       Copyright 1994 X Consortium
       See X(7) for a full statement of rights and permissions.

AUTHOR
       Jim Fulton, MIT X Consortium



NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded   from    ['https://www.x.org/releases/individ-
       ual/app/listres-1.0.4.tar.bz2',    'https://www.x.org/releases/individ-
       ual/app/appres-1.0.5.tar.bz2',     'https://www.x.org/releases/individ-
       ual/app/editres-1.0.7.tar.bz2',    'https://www.x.org/releases/individ-
       ual/app/viewres-1.0.5.tar.bz2']

       Further information about this software can be found on the open source
       community website at https://www.x.org.



X Version 11                     listres 1.0.4                      LISTRES(1)