{
    "content": [
        {
            "type": "text",
            "text": "# LISTRES(1) (man)\n\n**Summary:** listres - list resources in widgets\n\n**Synopsis:** listres [-option ...]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | objects. |\n| — | — | — | This option indicates that resources that are inherited from a superclass should not be listed. This is useful for deter |\n| — | — | — | This option indicates that widgets should be identified by the names of the class record variables rather than the class |\n| — | — | — | This option specifies the name of the widget to be treated as the top of the hierar‐ chy. Case is not significant, and t |\n| — | — | — | This option specifies the printf-style format string to be used to print out the name, instance, class, and type of each |\n\n## See Also\n\n- X(7)\n- xrdb(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (5 lines)\n- **OPTIONS** (3 lines) — 5 subsections\n  - -all (2 lines)\n  - -nosuper (3 lines)\n  - -variable (4 lines)\n  - -top (4 lines)\n  - -format (3 lines)\n- **X DEFAULTS** (2 lines)\n- **SEE ALSO** (2 lines)\n- **BUGS** (4 lines)\n- **COPYRIGHT** (3 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nlistres - list resources in widgets\n\n### SYNOPSIS\n\nlistres [-option ...]\n\n### DESCRIPTION\n\nThe  listres  program  generates  a list of a widget's resource database.  The class in which\neach resource is first defined, the instance and class name, and the type of each resource is\nlisted.   If  no  specific  widgets or the -all switch are given, a two-column list of widget\nnames and their class hierarchies is printed.\n\n### OPTIONS\n\nListres accepts all of the standard toolkit command line options along with those listed  be‐\nlow:\n\n#### -all\n\nobjects.\n\n#### -nosuper\n\nThis option indicates that resources that are inherited from a superclass should  not\nbe listed.  This is useful for determining which resources are new to a subclass.\n\n#### -variable\n\nThis  option  indicates  that  widgets should be identified by the names of the class\nrecord variables rather than the class name given in the variable.   This  is  useful\nfor distinguishing subclasses that have the same class name as their superclasses.\n\n#### -top\n\nThis  option specifies the name of the widget to be treated as the top of the hierar‐\nchy.  Case is not significant, and the name may match either the class variable  name\nor the class name.  The default is ``core''.\n\n#### -format\n\nThis  option  specifies  the  printf-style  format string to be used to print out the\nname, instance, class, and type of each resource.\n\n### X DEFAULTS\n\nTo be written.\n\n### SEE ALSO\n\nX(7), xrdb(1), appropriate widget documents\n\n### BUGS\n\nOn operating systems that do not support dynamic linking of run-time routines,  this  program\nmust  have  all  of its known widgets compiled in.  The sources provide several tools for au‐\ntomating this process for various widget sets.\n\n### COPYRIGHT\n\nCopyright 1994 X Consortium\nSee X(7) for a full statement of rights and permissions.\n\n### AUTHOR\n\nJim Fulton, MIT X Consortium\n\n\n\nX Version 11                                listres 1.0.4                                 LISTRES(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "LISTRES",
        "section": "1",
        "mode": "man",
        "summary": "listres - list resources in widgets",
        "synopsis": "listres [-option ...]",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "objects."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "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."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "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 subclasses that have the same class name as their superclasses."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This option specifies the name of the widget to be treated as the top of the hierar‐ chy. Case is not significant, and the name may match either the class variable name or the class name. The default is ``core''."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This option specifies the printf-style format string to be used to print out the name, instance, class, and type of each resource."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "X",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/X/7/json"
            },
            {
                "name": "xrdb",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/xrdb/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 3,
                "subsections": [
                    {
                        "name": "-all",
                        "lines": 2
                    },
                    {
                        "name": "-nosuper",
                        "lines": 3
                    },
                    {
                        "name": "-variable",
                        "lines": 4
                    },
                    {
                        "name": "-top",
                        "lines": 4
                    },
                    {
                        "name": "-format",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "X DEFAULTS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}