This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



LISTRES(1)                                                                                        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 determining 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 distinguish-ing distinguishing
               ing subclasses 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.

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 various widget sets.

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

AUTHOR
       Jim Fulton, MIT X Consortium



X Version 11                                    listres 1.0.1                                     LISTRES(1)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.