logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

viewres - graphical class browser for Xt

Actions

       The following application actions are provided:

       Quit()
               This action causes viewres to exit.

       SetLabelType(type)
               This action sets the node labels to display the widget variable or class names, according to  the
               argument type.

       SetOrientation(direction)
               This  action  sets  the  root  of the tree to be one of the following areas of the window:  West,
               North, East, or South.

       Select(what)
               This action selects the  indicated  nodes,  as  described  in  the  VIEWMENU  section:  nothing
               (unselects all nodes), invert, parent, ancestors, children, descendants, resources, shown.

       Resources(op)
               This action turns on, off, or toggles the resource boxes for the selected nodes.  If invoked from
               within one of the nodes (through the keyboard or pointer), only that node is used.

Author

       Jim Fulton, MIT X Consortium

X Version 11                                      viewres 1.0.7                                       VIEWRES(1)

Description

       The  viewres  program  displays a tree showing the widget class hierarchy of the Athena Widget Set.  Each
       node in the tree can be expanded to show the resources that the corresponding class adds (i.e.  does  not
       inherit  from its parent) when a widget is created.  This application allows the user to visually examine
       the structure and inherited resources for the Athena Widget Set.

Name

       viewres - graphical class browser for Xt

Options

Viewres accepts all of the standard toolkit command line options as well as the following:

       -topname
               This option specifies the name of the highest widget  in  the  hierarchy  to  display.   This  is
               typically used to limit the display to a subset of the tree.  The default is Object.

       -variable
               This  option  indicates  that  the  widget variable names (as declared in header files) should be
               displayed in the nodes  rather  than  the  widget  class  name.   This  is  sometimes  useful  to
               distinguish widget classes that share the same name (such as Text).

       -vertical
               This option indicates that the tree should be displayed top to bottom rather left to right.

See Also

X(7), xrdb(1), listres(1), editres(1), appres(1), appropriate widget documents

Synopsis

viewres [-option ...]

Widget Hierarchy

       Resources may be specified for the following widgets:

       Viewres viewres
               Paned pane
                       Box buttonbox
                               Command quit
                               MenuButton view
                                       SimpleMenu viewMenu
                                               SmeBSB layoutHorizontal
                                               SmeBSB layoutVertical
                                               SmeLine line1
                                               SmeBSB namesVariable
                                               SmeBSB namesClass
                                               SmeLine line2
                                               SmeBSB viewResources
                                               SmeBSB viewNoResources
                               MenuButton select
                                       SimpleMenu selectMenu
                                               SmeBSB unselect
                                               SmeBSB selectAll
                                               SmeBSB selectInvert
                                               SmeLine line1
                                               SmeBSB selectParent
                                               SmeBSB selectAncestors
                                               SmeBSB selectChildren
                                               SmeBSB selectDescendants
                                               SmeLine line2
                                               SmeBSB selectHasResources
                                               SmeBSB selectShownResources
                       Form treeform
                               Porthole porthole
                                       Tree tree
                                               Box variable-name
                                                       Toggle variable-name
                                                       List variable-name
                               Panner panner

       wherevariable-nameisthewidgetvariablenameofeachnode.

See Also