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

  1.  
  2.  
  3.  
  4. XSelectionRequestEvent(3X11X)LIB FUNCTIOXNSSelectionRequestEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XSelectionRequestEvent - SelectionRequest event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The structure for _S_e_l_e_c_t_i_o_n_R_e_q_u_e_s_t events contains:
  12.  
  13.        typedef struct {
  14.         int type;             /* SelectionRequest */
  15.         unsigned long serial;    /* # of last request processed by server */
  16.         Bool send_event;         /* true if this came from a SendEvent request */
  17.         Display *display;         /* Display the event was read from */
  18.         Window owner;
  19.         Window requestor;
  20.         Atom selection;
  21.         Atom target;
  22.         Atom property;
  23.         Time time;
  24.        } XSelectionRequestEvent;
  25.  
  26.        When you receive this event, the structure members are set
  27.        as follows.
  28.  
  29.        The type member is set to the event type constant name
  30.        that uniquely identifies it.  For example, when the X
  31.        server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
  32.        tion, it sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the
  33.        type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is
  34.        set to a pointer to the display the event was read on.
  35.        The send_event member is set to _T_r_u_e if the event came
  36.        from a _S_e_n_d_E_v_e_n_t protocol request.  The serial member is
  37.        set from the serial number reported in the protocol but
  38.        expanded from the 16-bit least-significant bits to a full
  39.        32-bit value.  The window member is set to the window that
  40.        is most useful to toolkit dispatchers.
  41.  
  42.        The owner member is set to the window that was specified
  43.        by the current owner in its _X_S_e_t_S_e_l_e_c_t_i_o_n_O_w_n_e_r call.  The
  44.        requestor member is set to the window requesting the
  45.        selection.  The selection member is set to the atom that
  46.        names the selection.  For example, PRIMARY is used to
  47.        indicate the primary selection.    The target member is set
  48.        to the atom that indicates the type the selection is
  49.        desired in.  The property member can be a property name or
  50.        _N_o_n_e.  The time member is set to the timestamp or _C_u_r_r_e_n_t_-
  51.        _T_i_m_e value from the _C_o_n_v_e_r_t_S_e_l_e_c_t_i_o_n request.
  52.  
  53. SSEEEE AALLSSOO
  54.        XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindow-
  55.        Event(3X11), XCirculateEvent(3X11), XCircu-
  56.        lateRequestEvent(3X11), XColormapEvent(3X11), XConfig-
  57.        ureEvent(3X11), XConfigureRequestEvent(3X11),
  58.        XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XEr-
  59.        rorEvent(3X11), XExposeEvent(3X11), XFo-
  60.        cusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XSelectionRequestEvent(3X11X)LIB FUNCTIOXNSSelectionRequestEvent(3X11)
  71.  
  72.  
  73.        XGravityEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  74.        XMapRequestEvent(3X11), XPropertyEvent(3X11), XRepar-
  75.        entEvent(3X11), XResizeRequestEvent(3X11), XSelection-
  76.        ClearEvent(3X11), XSelectionEvent(3X11), XSetSelec-
  77.        tionOwner(3X11), XUnmapEvent(3X11), XVisibilityEvent(3X11)
  78.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  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.