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

  1.  
  2.  
  3.  
  4. XtGetSelectionValueIncrementXaTl(FX3UtXNGtCe)TtISOeNlSectionValueIncremental(3Xt)
  5.  
  6.  
  7. NNAAMMEE
  8.        XtGetSelectionValueIncremental, XtGetSelectionValues-
  9.        Incremental - obtain selection values
  10.  
  11. SSYYNNTTAAXX
  12.        void XtGetSelectionValueIncremental(_w, _s_e_l_e_c_t_i_o_n, _t_a_r_g_e_t,
  13.        _c_a_l_l_b_a_c_k, _c_l_i_e_n_t___d_a_t_a, _t_i_m_e)
  14.          Widget _w;
  15.          Atom _s_e_l_e_c_t_i_o_n;
  16.          Atom _t_a_r_g_e_t;
  17.          XtSelectionCallbackProc _c_a_l_l_b_a_c_k;
  18.          XtPointer _c_l_i_e_n_t___d_a_t_a;
  19.          Time _t_i_m_e;
  20.  
  21.        void XtGetSelectionValuesIncremental(_w, _s_e_l_e_c_t_i_o_n, _t_a_r_-
  22.        _g_e_t_s, _c_o_u_n_t, _c_a_l_l_b_a_c_k, _c_l_i_e_n_t___d_a_t_a, _t_i_m_e)
  23.          Widget _w;
  24.          Atom _s_e_l_e_c_t_i_o_n;
  25.          Atom *_t_a_r_g_e_t_s;
  26.          int _c_o_u_n_t;
  27.          XtSelectionCallbackProc _c_a_l_l_b_a_c_k;
  28.          XtPointer _c_l_i_e_n_t___d_a_t_a;
  29.          Time _t_i_m_e;
  30.  
  31. AARRGGUUMMEENNTTSS
  32.        _c_a_l_l_b_a_c_k     Specifies the callback procedure that is to be
  33.          called when the selection value has been
  34.          obtained.
  35.  
  36.        _c_l_i_e_n_t___d_a_t_a
  37.          Specifies the argument that is to be passed to
  38.          the specified procedure when it is called.
  39.  
  40.        _c_l_i_e_n_t___d_a_t_a
  41.          Specifies the client data (one for each target
  42.          type) that is passed to the callback procedure
  43.          when it is called for that target.
  44.  
  45.        _c_o_u_n_t     Specifies the length of the targets and
  46.          client_data lists.
  47.  
  48.        _s_e_l_e_c_t_i_o_n Specifies the particular selection desired (that
  49.          is, primary or secondary).
  50.  
  51.        _t_a_r_g_e_t     Specifies the type of the information that is
  52.          needed about the selection.
  53.  
  54.        _t_a_r_g_e_t_s     Specifies the types of information that is
  55.          needed about the selection.
  56.  
  57.        _t_i_m_e     Specifies the timestamp that indicates when the
  58.          selection value is desired.
  59.  
  60.        _w     Specifies the widget that is making the request.
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XtGetSelectionValueIncrementXaTl(FX3UtXNGtCe)TtISOeNlSectionValueIncremental(3Xt)
  71.  
  72.  
  73. DDEESSCCRRIIPPTTIIOONN
  74.        The _X_t_G_e_t_S_e_l_e_c_t_i_o_n_V_a_l_u_e_I_n_c_r_e_m_e_n_t_a_l function is similar to
  75.        _X_t_G_e_t_S_e_l_e_c_t_i_o_n_V_a_l_u_e except that the _s_e_l_e_c_t_i_o_n___c_a_l_l_b_a_c_k
  76.        procedure will be called repeatedly upon delivery of mul-
  77.        tiple segments of the selection value.  The end of the
  78.        selection value is indicated when _s_e_l_e_c_t_i_o_n___c_a_l_l_b_a_c_k is
  79.        called with a non-NULL value of length zero, which must
  80.        still be freed by the client. If the transfer of the
  81.        selection is aborted in the middle of a transfer (for
  82.        example, because to timeout), the _s_e_l_e_c_t_i_o_n___c_a_l_l_b_a_c_k pro-
  83.        cedure is called with a type value equal to the symbolic
  84.        constant _X_T___C_O_N_V_E_R_T___F_A_I_L so that the requestor can dispose
  85.        of the partial selection value it has collected up until
  86.        that point. Upon receiving _X_T___C_O_N_V_E_R_T___F_A_I_L, the requesting
  87.        client must determine for itself whether or not a par-
  88.        tially completed transfer is meaningful.
  89.  
  90.        The _X_t_G_e_t_S_e_l_e_c_t_i_o_n_V_a_l_u_e_s_I_n_c_r_e_m_e_n_t_a_l function is similar to
  91.        _X_t_G_e_t_S_e_l_e_c_t_i_o_n_V_a_l_u_e_I_n_c_r_e_m_e_n_t_a_l except that it takes a list
  92.        of target types and a list of client data and obtains the
  93.        current value of the selection converted to each of the
  94.        targets.     The effect is as if each target were specified
  95.        in a separate call to _X_t_G_e_t_S_e_l_e_c_t_i_o_n_V_a_l_u_e_I_n_c_r_e_m_e_n_t_a_l.  The
  96.        callback is called once with the corresponding client data
  97.        for each target.     _X_t_G_e_t_S_e_l_e_c_t_i_o_n_V_a_l_u_e_s_I_n_c_r_e_m_e_n_t_a_l does
  98.        guarantee that all the conversions will use the same
  99.        selection value becaues the ownership of the selection
  100.        cannot change in the middle of the list, as would be when
  101.        calling _X_t_G_e_t_S_e_l_e_c_t_i_o_n_V_a_l_u_e_I_n_c_r_e_m_e_n_t_a_l repeatedly.
  102.  
  103. SSEEEE AALLSSOO
  104.        _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
  105.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.