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

  1.  
  2.  
  3.  
  4. XWarpPointer(3X11)      XLIB FUNCTIONS       XWarpPointer(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XWarpPointer - move pointer
  9.  
  10. SSYYNNTTAAXX
  11.        XWarpPointer(_d_i_s_p_l_a_y, _s_r_c___w, _d_e_s_t___w, _s_r_c___x, _s_r_c___y,
  12.        _s_r_c___w_i_d_t_h, _s_r_c___h_e_i_g_h_t, _d_e_s_t___x,
  13.                _d_e_s_t___y)
  14.            Display *_d_i_s_p_l_a_y;
  15.            Window _s_r_c___w, _d_e_s_t___w;
  16.            int _s_r_c___x, _s_r_c___y;
  17.            unsigned int _s_r_c___w_i_d_t_h, _s_r_c___h_e_i_g_h_t;
  18.            int _d_e_s_t___x, _d_e_s_t___y;
  19.  
  20. AARRGGUUMMEENNTTSS
  21.        _d_e_s_t___w     Specifies the destination window or _N_o_n_e.
  22.  
  23.        _d_e_s_t___x
  24.        _d_e_s_t___y     Specify the x and y coordinates within the des-
  25.          tination window.
  26.  
  27.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  28.  
  29.        _s_r_c___x
  30.        _s_r_c___y
  31.        _s_r_c___w_i_d_t_h
  32.        _s_r_c___h_e_i_g_h_t
  33.          Specify a rectangle in the source window.
  34.  
  35.        _s_r_c___w     Specifies the source window or _N_o_n_e.
  36.  
  37. DDEESSCCRRIIPPTTIIOONN
  38.        If dest_w is _N_o_n_e, _X_W_a_r_p_P_o_i_n_t_e_r moves the pointer by the
  39.        offsets (dest_x, dest_y) relative to the current position
  40.        of the pointer.    If dest_w is a window, _X_W_a_r_p_P_o_i_n_t_e_r moves
  41.        the pointer to the offsets (dest_x, dest_y) relative to
  42.        the origin of dest_w.  However, if src_w is a window, the
  43.        move only takes place if the window src_w contains the
  44.        pointer and if the specified rectangle of src_w contains
  45.        the pointer.
  46.  
  47.        The src_x and src_y coordinates are relative to the origin
  48.        of src_w.  If src_height is zero, it is replaced with the
  49.        current height of src_w minus src_y.  If src_width is
  50.        zero, it is replaced with the current width of src_w minus
  51.        src_x.
  52.  
  53.        There is seldom any reason for calling this function.  The
  54.        pointer should normally be left to the user.  If you do
  55.        use this function, however, it generates events just as if
  56.        the user had instantaneously moved the pointer from one
  57.        position to another.  Note that you cannot use _X_W_a_r_p_-
  58.        _P_o_i_n_t_e_r to move the pointer outside the confine_to window
  59.        of an active pointer grab.  An attempt to do so will only
  60.        move the pointer as far as the closest edge of the
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XWarpPointer(3X11)      XLIB FUNCTIONS       XWarpPointer(3X11)
  71.  
  72.  
  73.        confine_to window.
  74.  
  75.        _X_W_a_r_p_P_o_i_n_t_e_r can generate a _B_a_d_W_i_n_d_o_w error.
  76.  
  77. DDIIAAGGNNOOSSTTIICCSS
  78.        _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  79.          defined Window.
  80.  
  81. SSEEEE AALLSSOO
  82.        XSetInputFocus(3X11)
  83.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.