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

  1.  
  2.  
  3.  
  4. XSelectInput(3X11)      XLIB FUNCTIONS       XSelectInput(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XSelectInput - select input events
  9.  
  10. SSYYNNTTAAXX
  11.        XSelectInput(_d_i_s_p_l_a_y, _w, _e_v_e_n_t___m_a_s_k)
  12.          Display *_d_i_s_p_l_a_y;
  13.          Window _w;
  14.          long _e_v_e_n_t___m_a_s_k;
  15.  
  16. AARRGGUUMMEENNTTSS
  17.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  18.  
  19.        _e_v_e_n_t___m_a_s_k
  20.          Specifies the event mask.
  21.  
  22.        _w     Specifies the window whose events you are inter-
  23.          ested in.
  24.  
  25. DDEESSCCRRIIPPTTIIOONN
  26.        The _X_S_e_l_e_c_t_I_n_p_u_t function requests that the X server
  27.        report the events associated with the specified event
  28.        mask.  Initially, X will not report any of these events.
  29.        Events are reported relative to a window.  If a window is
  30.        not interested in a device event, it usually propagates to
  31.        the closest ancestor that is interested, unless the
  32.        do_not_propagate mask prohibits it.
  33.  
  34.        Setting the event-mask attribute of a window overrides any
  35.        previous call for the same window but not for other
  36.        clients.     Multiple clients can select for the same events
  37.        on the same window with the following restrictions:
  38.  
  39.        +o    Multiple clients can select events on the same window
  40.         because their event masks are disjoint.  When the X
  41.         server generates an event, it reports it to all
  42.         interested clients.
  43.  
  44.        +o    Only one client at a time can select
  45.         _C_i_r_c_u_l_a_t_e_R_e_q_u_e_s_t, _C_o_n_f_i_g_u_r_e_R_e_q_u_e_s_t, or _M_a_p_R_e_q_u_e_s_t
  46.         events, which are associated with the event mask
  47.         _S_u_b_s_t_r_u_c_t_u_r_e_R_e_d_i_r_e_c_t_M_a_s_k.
  48.  
  49.        +o    Only one client at a time can select a _R_e_s_i_z_e_R_e_q_u_e_s_t
  50.         event, which is associated with the event mask
  51.         _R_e_s_i_z_e_R_e_d_i_r_e_c_t_M_a_s_k.
  52.  
  53.        +o    Only one client at a time can select a _B_u_t_t_o_n_P_r_e_s_s
  54.         event, which is associated with the event mask
  55.         _B_u_t_t_o_n_P_r_e_s_s_M_a_s_k.
  56.  
  57.        The server reports the event to all interested clients.
  58.  
  59.        _X_S_e_l_e_c_t_I_n_p_u_t can generate a _B_a_d_W_i_n_d_o_w error.
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XSelectInput(3X11)      XLIB FUNCTIONS       XSelectInput(3X11)
  71.  
  72.  
  73. DDIIAAGGNNOOSSTTIICCSS
  74.        _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  75.          defined Window.
  76.  
  77. SSEEEE AALLSSOO
  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.