Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1X)

xrdb(1X)




listres(1X) listres(1X)
NAME listres - lists resources in widgets SYNOPSIS listres [-all] [-tree] [-nosuper] [-variable] [-top widget] [-format control-string] widgetlist DESCRIPTION listres generates a list of a widget's resource database. The list consists of the class in which each resource is first defined, the instance and class name, and the type of each resource. If the -all option is used or if no widget names are specified, listres prints a two-column list of widget names and their class hierarchies. Options The listres command accepts all of the standard X Toolkit command-line options, as described in X(1X), as well as these options: -all Causes listres to display information for all known widgets and objects. -format control-string Specifies the string to be used to print out the name, instance, class, and type of each resource. The string follows the conventions of printf(3S). -nosuper Causes listres to list only those resources that are not inherited from a superclass. This option is useful for determining those resources that are new to a subclass. -top widget Specifies the name of the widget to be treated as the top of the hierarchy. Case is not significant, and widget can be either a class name variable or a class name. The default is core. -tree Causes listres to display the hierarchy of all known widgets. -variable Causes listres to identify widgets by the names of the class-record variables rather than the class name given in the variable. This option is useful for distinguishing subclasses that have the same class name as their superclasses. November, 1990 1



listres(1X) listres(1X)
LIMITATIONS On operating systems that do not support dynamic linking of run-time routines, all of its known widgets must be compiled into listres. The sources provide several tools for au- tomating this process for various widget sets. NOTES Copyright 1989, Massachusetts Institute of Technology. See X(1X) for a full statement of rights and permissions. Author: Jim Fulton, MIT X Consortium SEE ALSO X(1X), xrdb(1X) Athena Widget Set - C Language Interface X Toolkit Intrinsics -C Language Interface 2 November, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026