MirBSD manpage: listres(1)

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


     listres - list resources in widgets


     listres [-option ...]


     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.


     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.

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

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

     -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

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


     To be written.


     X(7), xrdb(1), appropriate widget documents

XFree86                   Version 4.5.0                         1

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


     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 1994 X Consortium
     See X(7) for a full statement of rights and permissions.


     Jim Fulton, MIT X Consortium

XFree86                   Version 4.5.0                         2

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.