home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XReparentWindow.z / XReparentWindow
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXRRRReeeeppppaaaarrrreeeennnnttttWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXRRRReeeeppppaaaarrrreeeennnnttttWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XReparentWindow - reparent windows
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XReparentWindow(_d_i_s_p_l_a_y, _w, _p_a_r_e_n_t, _x, _y)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 Window _w;
  15.                 Window _p_a_r_e_n_t;
  16.                 int _x, _y;
  17.  
  18.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  19.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  20.  
  21.           _p_a_r_e_n_t    Specifies the parent window.
  22.  
  23.           _w         Specifies the window.
  24.  
  25.           _x
  26.           _y         Specify the x and y coordinatesof the position in
  27.                     the new parent window.
  28.  
  29.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.           If the specified window is mapped, _X_R_e_p_a_r_e_n_t_W_i_n_d_o_w
  31.           automatically performs an _U_n_m_a_p_W_i_n_d_o_w request on it, removes
  32.           it from its current position in the hierarchy, and inserts
  33.           it as the child of the specified parent.  The window is
  34.           placed in the stacking order on top with respect to sibling
  35.           windows.
  36.  
  37.           After reparenting the specified window, _X_R_e_p_a_r_e_n_t_W_i_n_d_o_w
  38.           causes the X server to generate a _R_e_p_a_r_e_n_t_N_o_t_i_f_y event.  The
  39.           override_redirect member returned in this event is set to
  40.           the window's corresponding attribute.  Window manager
  41.           clients usually should ignore this window if this member is
  42.           set to _T_r_u_e.  Finally, if the specified window was
  43.           originally mapped, the X server automatically performs a
  44.           _M_a_p_W_i_n_d_o_w request on it.
  45.  
  46.           The X server performs normal exposure processing on formerly
  47.           obscured windows.  The X server might not generate _E_x_p_o_s_e
  48.           events for regions from the initial _U_n_m_a_p_W_i_n_d_o_w request that
  49.           are immediately obscured by the final _M_a_p_W_i_n_d_o_w request.  A
  50.           _B_a_d_M_a_t_c_h error results if:
  51.  
  52.           +o    The new parent window is not on the same screen as the
  53.                old parent window.
  54.  
  55.           +o    The new parent window is the specified window or an
  56.                inferior of the specified window.
  57.  
  58.           +o    The new parent is _I_n_p_u_t_O_n_l_y, and the window is not.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXRRRReeeeppppaaaarrrreeeennnnttttWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXRRRReeeeppppaaaarrrreeeennnnttttWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           +o    The specified window has a _P_a_r_e_n_t_R_e_l_a_t_i_v_e background,
  75.                and the new parent window is not the same depth as the
  76.                specified window.
  77.  
  78.           _X_R_e_p_a_r_e_n_t_W_i_n_d_o_w can generate _B_a_d_M_a_t_c_h and _B_a_d_W_i_n_d_o_w errors.
  79.  
  80.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  81.           _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  82.                     defined Window.
  83.  
  84.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  85.           XChangeSaveSet(3X11)
  86.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.