home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat1 / viewres.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  9.5 KB  |  265 lines

  1.  
  2.  
  3.  
  4. VIEWRES(1)                           VIEWRES(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        viewres - graphical class browser for Xt
  9.  
  10. SSYYNNOOPPSSIISS
  11.        vviieewwrreess [-option ...]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        The  _v_i_e_w_r_e_s  program  displays    a tree showing the widget
  15.        class hierarchy of the Athena Widget Set.   Each     node  in
  16.        the  tree  can  be expanded to show the resources that the
  17.        corresponding class adds (i.e. does not inherit    from  its
  18.        parent) when a widget is created.  This application allows
  19.        the user to visually examine the structure  and    inherited
  20.        resources for the Athena Widget Set.
  21.  
  22. OOPPTTIIOONNSS
  23.        _V_i_e_w_r_e_s    accepts     all of the standard toolkit command line
  24.        options as well as the following:
  25.  
  26.        --ttoopp _n_a_m_e
  27.            This option specifies the name of the highest wid-
  28.            get  in    the  hierarchy to display.  This is typi-
  29.            cally used to limit the display to a subset of the
  30.            tree.  The default is _O_b_j_e_c_t.
  31.  
  32.        --vvaarriiaabbllee
  33.            This  option  indicates    that  the widget variable
  34.            names (as declared in header files) should be dis-
  35.            played  in  the nodes rather than the widget class
  36.            name.  This is  sometimes  useful  to  distinguish
  37.            widget  classes    that share the same name (such as
  38.            _T_e_x_t).
  39.  
  40.        --vveerrttiiccaall
  41.            This option indicates that the tree should be dis-
  42.            played top to bottom rather left to right.
  43.  
  44. VVIIEEWW MMEENNUU
  45.        The  way     in  which  the     tree is displayed may be changed
  46.        through the entries in the VViieeww menu:
  47.  
  48.        SShhooww VVaarriiaabbllee NNaammeess
  49.            This entry causes the node labels to be set to the
  50.            variable     names    used to declare the corresponding
  51.            widget class.  This operation  may  also     be  per-
  52.            formed  with  the  SSeettLLaabbeellTTyyppee((vvaarriiaabbllee)) transla-
  53.            tion.
  54.  
  55.        SShhooww CCllaassss NNaammeess
  56.            This entry causes the node labels to be set to the
  57.            class  names used when specifying resources.  This
  58.            operation may also be performed with the SSeettLLaabbeell--
  59.            TTyyppee((ccllaassss)) translation.
  60.  
  61.  
  62.  
  63.  
  64. X Version 11            Release 6                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. VIEWRES(1)                           VIEWRES(1)
  71.  
  72.  
  73.        LLaayyoouutt HHoorriizzoonnttaall
  74.            This  entry  causes  the     tree to be laid out from
  75.            left to right.  This operation may  also     be  per-
  76.            formed  with the _S_e_t_O_r_i_e_n_t_a_t_i_o_n_(_W_e_s_t_) translation.
  77.  
  78.        LLaayyoouutt VVeerrttiiccaall
  79.            This entry causes the tree to be laid out from top
  80.            to  bottom.   This operation may also be performed
  81.            with the _S_e_t_O_r_i_e_n_t_a_t_i_o_n_(_N_o_r_t_h_) translation.
  82.  
  83.        SShhooww RReessoouurrccee BBooxxeess
  84.            This entry expands the selected    nodes  (see  next
  85.            section)     to  show  the    new widget and constraint
  86.            resources.  This operation may also  be    performed
  87.            with the _R_e_s_o_u_r_c_e_s_(_o_n_) translation.
  88.  
  89.        HHiiddee RReessoouurrccee BBooxxeess
  90.            This  entry removes the resource displays from the
  91.            selected nodes (usually to conserve space).   This
  92.            operation   may     also    be   performed    with  the
  93.            _R_e_s_o_u_r_c_e_s_(_o_f_f_) translation.
  94.  
  95. SSEELLEECCTT MMEENNUU
  96.        Resources for a single widget class can    be  displayed  by
  97.        clicking     BBuuttttoonn22  on the corresponding node, or by adding
  98.        the node to the selection list with BBuuttttoonn11 and using  the
  99.        SShhooww RReessoouurrccee BBooxxeess entry in the VViieeww menu.  Since BBuuttttoonn11
  100.        actually toggles the selection state of a  node,     clicking
  101.        on  a  selected    node will cause it to be removed from the
  102.        selected list.
  103.  
  104.        Collections of nodes may also be selected through the var-
  105.        ious entries in the SSeelleecctt menu:
  106.  
  107.        UUnnsseelleecctt AAllll
  108.            This  entry  removes  all nodes from the selection
  109.            list.  This operation may also be  performed  with
  110.            the _S_e_l_e_c_t_(_n_o_t_h_i_n_g_) translation.
  111.  
  112.        SSeelleecctt AAllll
  113.            This  entry  adds all nodes to the selection list.
  114.            This operation may  also     be  performed    with  the
  115.            _S_e_l_e_c_t_(_a_l_l_) translation.
  116.  
  117.        IInnvveerrtt AAllll
  118.            This  entry  adds unselected nodes to, and removes
  119.            selected nodes from,  the  selection  list.   This
  120.            operation   may     also    be   performed    with  the
  121.            _S_e_l_e_c_t_(_i_n_v_e_r_t_) translation.
  122.  
  123.        SSeelleecctt PPaarreenntt
  124.            This entry selects the immediate     parents  of  all
  125.            selected     nodes.      This operation may also be per-
  126.            formed with the _S_e_l_e_c_t_(_p_a_r_e_n_t_) translation.
  127.  
  128.  
  129.  
  130. X Version 11            Release 6                2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. VIEWRES(1)                           VIEWRES(1)
  137.  
  138.  
  139.        SSeelleecctt AAnncceessttoorrss
  140.            This entry recursively selects all parents of  all
  141.            selected     nodes.      This operation may also be per-
  142.            formed with the _S_e_l_e_c_t_(_a_n_c_e_s_t_o_r_s_) translation.
  143.  
  144.        SSeelleecctt CChhiillddrreenn
  145.            This entry selects the immediate children  of  all
  146.            selected     nodes.      This operation may also be per-
  147.            formed with the _S_e_l_e_c_t_(_c_h_i_l_d_r_e_n_) translation.
  148.  
  149.        SSeelleecctt DDeesscceennddaannttss
  150.            This entry recursively selects all children of all
  151.            selected     nodes.      This operation may also be per-
  152.            formed with the _S_e_l_e_c_t_(_d_e_s_c_e_n_d_a_n_t_s_) translation.
  153.  
  154.        SSeelleecctt HHaass RReessoouurrcceess
  155.            This  entry  selects  all  nodes     that    add   new
  156.            resources  (regular or constraint) to their corre-
  157.            sponding widget classes.     This operation may  also
  158.            be  performed  with the _S_e_l_e_c_t_(_r_e_s_o_u_r_c_e_s_) transla-
  159.            tion.
  160.  
  161.        SSeelleecctt SShhoowwnn RReessoouurrccee BBooxxeess
  162.            This entry selects all nodes whose resource  boxes
  163.            are  currently  expanded (usually so that they can
  164.            be closed with HHiiddee RReessoouurrccee BBooxxeess).  This  opera-
  165.            tion  may also be performed with the _S_e_l_e_c_t_(_s_h_o_w_n_)
  166.            translation.
  167.  
  168. AACCTTIIOONNSS
  169.        The following application actions are provided:
  170.  
  171.        QQuuiitt(())
  172.            This action causes _v_i_e_w_r_e_s to exit.
  173.  
  174.        SSeettLLaabbeellTTyyppee((_t_y_p_e))
  175.            This action sets the node labels     to  display  the
  176.            widget  _v_a_r_i_a_b_l_e     or _c_l_a_s_s names, according to the
  177.            argument _t_y_p_e.
  178.  
  179.        SSeettOOrriieennttaattiioonn((_d_i_r_e_c_t_i_o_n))
  180.            This action sets the root of the tree to be one of
  181.            the  following  areas of the window:  _W_e_s_t, _N_o_r_t_h,
  182.            _E_a_s_t, or _S_o_u_t_h.
  183.  
  184.        SSeelleecctt((_w_h_a_t))
  185.            This  action  selects  the  indicated  nodes,   as
  186.            described in the VVIIEEWW MMEENNUU section: _n_o_t_h_i_n_g (unse-
  187.            lects all nodes), _i_n_v_e_r_t, _p_a_r_e_n_t, _a_n_c_e_s_t_o_r_s, _c_h_i_l_-
  188.            _d_r_e_n, _d_e_s_c_e_n_d_a_n_t_s, _r_e_s_o_u_r_c_e_s, _s_h_o_w_n.
  189.  
  190.        RReessoouurrcceess((_o_p))
  191.            This action turns _o_n, _o_f_f, or _t_o_g_g_l_e_s the resource
  192.            boxes for the selected  nodes.    If  invoked  from
  193.  
  194.  
  195.  
  196. X Version 11            Release 6                3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. VIEWRES(1)                           VIEWRES(1)
  203.  
  204.  
  205.            within  one  of the nodes (through the keyboard or
  206.            pointer), only that node is used.
  207.  
  208. WWIIDDGGEETT HHIIEERRAARRCCHHYY
  209.        Resources may be specified for the following widgets:
  210.  
  211.        Viewres viewres
  212.         Paned pane
  213.          Box buttonbox
  214.               Command quit
  215.               MenuButton view
  216.                SimpleMenu viewMenu
  217.                 SmeBSB layoutHorizontal
  218.                 SmeBSB layoutVertical
  219.                 SmeLine line1
  220.                 SmeBSB namesVariable
  221.                 SmeBSB namesClass
  222.                 SmeLine line2
  223.                 SmeBSB viewResources
  224.                 SmeBSB viewNoResources
  225.               MenuButton select
  226.                SimpleMenu selectMenu
  227.                 SmeBSB unselect
  228.                 SmeBSB selectAll
  229.                 SmeBSB selectInvert
  230.                 SmeLine line1
  231.                 SmeBSB selectParent
  232.                 SmeBSB selectAncestors
  233.                 SmeBSB selectChildren
  234.                 SmeBSB selectDescendants
  235.                 SmeLine line2
  236.                 SmeBSB selectHasResources
  237.                 SmeBSB selectShownResources
  238.          Form treeform
  239.               Porthole porthole
  240.                Tree tree
  241.                 Box _v_a_r_i_a_b_l_e_-_n_a_m_e
  242.                      Toggle _v_a_r_i_a_b_l_e_-_n_a_m_e
  243.                      List _v_a_r_i_a_b_l_e_-_n_a_m_e
  244.               Panner panner
  245.  
  246.        where _v_a_r_i_a_b_l_e_-_n_a_m_e is the widget variable  name     of  each
  247.        node.
  248.  
  249. SSEEEE AALLSSOO
  250.        X(1),  xrdb(1),    listres(1), editres(1), appres(1), appro-
  251.        priate widget documents
  252.  
  253. CCOOPPYYRRIIGGHHTT
  254.        Copyright ([, X Consortium
  255.        See _X_(_1_) for a full statement of rights and permissions.
  256.  
  257. AAUUTTHHOORR
  258.        Jim Fulton, MIT X Consortium
  259.  
  260.  
  261.  
  262. X Version 11            Release 6                4
  263.  
  264.  
  265.