LISTRES(1)

๐Ÿ“ฆ
version 7.7+7build1 ยท 4 versions
, in debian trixie, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

๐ŸŽ€ LISTRES(1) ยท General Commands Manual ๐Ÿ’…

okay bestie, listres is literally the tool for peeking at what resources your widgets are hiding โœจ

๐ŸŒธ NAME ๐ŸŒธ

listres - list resources in widgets ๐Ÿฆ‹

๐Ÿงš SYNOPSIS ๐Ÿงš

listres [-option ...]

๐Ÿ’– DESCRIPTION ๐Ÿ’–

okay so the listres program makes a list of a widget's resource database ๐Ÿ“‹ for each resource it tells you the class where it was first defined, the instance and class name, and its type. it's giving full detective energy ๐Ÿ•ต๏ธโ€โ™€๏ธ

if you don't name any specific widgets and don't use the -all switch, you get a two-column list of widget names and their class hierarchies instead ๐Ÿ“

๐Ÿซถ OPTIONS ๐Ÿซถ

listres takes all the standard toolkit command line options, plus these cuties:

  • -all โ€” tells listres to print info for every known widget and object ๐ŸŒˆ
  • -nosuper โ€” skips any resources inherited from a superclass. super useful for spotting which resources are brand new to a subclass ๐Ÿ‘‘
  • -variable โ€” identifies widgets by the names of their class record variables instead of the class name given in the variable. this is the move when subclasses share a class name with their superclasses ๐Ÿ”ฅ
  • -top name โ€” sets which widget counts as the top of the hierarchy ๐ŸŒŸ case doesn't matter, and the name can match either the class variable name or the class name. the default is core
  • -format printf-string โ€” sets the printf-style format string used to print the name, instance, class, and type of each resource ๐Ÿ’œ
  • -help โ€” prints a usage message and exits ๐Ÿ™ˆ
  • -version โ€” prints version info and exits ๐ŸŽ€

๐Ÿฆ‹ X DEFAULTS ๐Ÿฆ‹

To be written. ๐Ÿ™ˆ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

X(7), xrdb(1), appropriate widget documents ๐Ÿ“š

โš ๏ธ BUGS โš ๏ธ

on operating systems that don't support dynamic linking of run-time routines, this program has to have all of its known widgets compiled in ๐Ÿ˜ญ the sources include a few tools that automate this for various widget sets, so you're not doing it all by hand ๐Ÿซถ

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Jim Fulton, MIT X Consortium ๐Ÿ’–


bestie, that's the whole thing! ๐Ÿงš it's X Version 11, listres 1.0.6, and LISTRES(1) all the way down ๐Ÿ’…โœจ