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

  1.  
  2.  
  3.  
  4. XtGetSubresources(3Xt)       XT FUNCTIONS       XtGetSubresources(3Xt)
  5.  
  6.  
  7. NNAAMMEE
  8.        XtGetSubresources, XtVaGetSubresources - obtain subre-
  9.        sources
  10.  
  11. SSYYNNTTAAXX
  12.        void XtGetSubresources(_w, _b_a_s_e, _n_a_m_e, _c_l_a_s_s, _r_e_s_o_u_r_c_e_s,
  13.        _n_u_m___r_e_s_o_u_r_c_e_s, _a_r_g_s, _n_u_m___a_r_g_s)
  14.          Widget _w;
  15.          XtPointer _b_a_s_e;
  16.          String _n_a_m_e;
  17.          String _c_l_a_s_s;
  18.          XtResourceList _r_e_s_o_u_r_c_e_s;
  19.          Cardinal _n_u_m___r_e_s_o_u_r_c_e_s;
  20.          ArgList _a_r_g_s;
  21.          Cardinal _n_u_m___a_r_g_s;
  22.  
  23.        void XtVaGetSubresources(_w, _b_a_s_e, _n_a_m_e, _c_l_a_s_s, _r_e_s_o_u_r_c_e_s,
  24.        _n_u_m___r_e_s_o_u_r_c_e_s, _._._.)
  25.          Widget _w;
  26.          XtPointer _b_a_s_e;
  27.          String _n_a_m_e;
  28.          String _c_l_a_s_s;
  29.          XtResourceList _r_e_s_o_u_r_c_e_s;
  30.          Cardinal _n_u_m___r_e_s_o_u_r_c_e_s;
  31.  
  32. AARRGGUUMMEENNTTSS
  33.        _a_r_g_s     Specifies the argument list to override
  34.          resources obtained from the resource database.
  35.  
  36.        _b_a_s_e     Specifies the base address of the subpart data
  37.          structure where the resources should be written.
  38.  
  39.        _c_l_a_s_s     Specifies the class of the subpart.
  40.  
  41.        _n_a_m_e     Specifies the name of the subpart.
  42.  
  43.        _n_u_m___a_r_g_s     Specifies the number of arguments in the argu-
  44.          ment list.
  45.  
  46.        _n_u_m___r_e_s_o_u_r_c_e_s
  47.          Specifies the number of resources in the
  48.          resource list.
  49.  
  50.        _r_e_s_o_u_r_c_e_s Specifies the resource list for the subpart.
  51.  
  52.        _w     Specifies the widget that wants resources for a
  53.          subpart or that identifies the resource database
  54.          to search.
  55.  
  56.        _._._.     Specifies the variable arguments to override
  57.          resources obtained from the resource database.
  58.  
  59. DDEESSCCRRIIPPTTIIOONN
  60.        The _X_t_G_e_t_S_u_b_r_e_s_o_u_r_c_e_s function constructs a name/class
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XtGetSubresources(3Xt)       XT FUNCTIONS       XtGetSubresources(3Xt)
  71.  
  72.  
  73.        list from the application name/class, the name/classes of
  74.        all its ancestors, and the widget itself.  Then, it
  75.        appends to this list the name/class pair passed in.  The
  76.        resources are fetched from the argument list, the resource
  77.        database, or the default values in the resource list.
  78.        Then, they are copied into the subpart record.  If args is
  79.        NULL, num_args must be zero.  However, if num_args is
  80.        zero, the argument list is not referenced.
  81.  
  82. SSEEEE AALLSSOO
  83.        XtGetApplicationResources, XtVaGetApplicationResources
  84.        _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s _- _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  85.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.