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

  1.  
  2.  
  3.  
  4. XMapWindow(3X11)      XLIB FUNCTIONS     XMapWindow(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XMapWindow, XMapRaised, XMapSubwindows - map windows
  9.  
  10. SSYYNNTTAAXX
  11.        XMapWindow(_d_i_s_p_l_a_y, _w)
  12.          Display *_d_i_s_p_l_a_y;
  13.          Window _w;
  14.  
  15.        XMapRaised(_d_i_s_p_l_a_y, _w)
  16.          Display *_d_i_s_p_l_a_y;
  17.          Window _w;
  18.  
  19.        XMapSubwindows(_d_i_s_p_l_a_y, _w)
  20.          Display *_d_i_s_p_l_a_y;
  21.          Window _w;
  22.  
  23. AARRGGUUMMEENNTTSS
  24.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  25.  
  26.        _w     Specifies the window.
  27.  
  28. DDEESSCCRRIIPPTTIIOONN
  29.        The _X_M_a_p_W_i_n_d_o_w function maps the window and all of its
  30.        subwindows that have had map requests.  Mapping a window
  31.        that has an unmapped ancestor does not display the window
  32.        but marks it as eligible for display when the ancestor
  33.        becomes mapped.    Such a window is called unviewable.  When
  34.        all its ancestors are mapped, the window becomes viewable
  35.        and will be visible on the screen if it is not obscured by
  36.        another window.    This function has no effect if the window
  37.        is already mapped.
  38.  
  39.        If the override-redirect of the window is _F_a_l_s_e and if
  40.        some other client has selected _S_u_b_s_t_r_u_c_t_u_r_e_R_e_d_i_r_e_c_t_M_a_s_k on
  41.        the parent window, then the X server generates a _M_a_p_R_e_-
  42.        _q_u_e_s_t event, and the _X_M_a_p_W_i_n_d_o_w function does not map the
  43.        window.    Otherwise, the window is mapped, and the X server
  44.        generates a _M_a_p_N_o_t_i_f_y event.
  45.  
  46.        If the window becomes viewable and no earlier contents for
  47.        it are remembered, the X server tiles the window with its
  48.        background.  If the window's background is undefined, the
  49.        existing screen contents are not altered, and the X server
  50.        generates zero or more _E_x_p_o_s_e events.  If backing-store
  51.        was maintained while the window was unmapped, no _E_x_p_o_s_e
  52.        events are generated.  If backing-store will now be main-
  53.        tained, a full-window exposure is always generated.  Oth-
  54.        erwise, only visible regions may be reported.  Similar
  55.        tiling and exposure take place for any newly viewable
  56.        inferiors.
  57.  
  58.        If the window is an _I_n_p_u_t_O_u_t_p_u_t window, _X_M_a_p_W_i_n_d_o_w gener-
  59.        ates _E_x_p_o_s_e events on each _I_n_p_u_t_O_u_t_p_u_t window that it
  60.        causes to be displayed.    If the client maps and paints the
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XMapWindow(3X11)      XLIB FUNCTIONS     XMapWindow(3X11)
  71.  
  72.  
  73.        window and if the client begins processing events, the
  74.        window is painted twice.     To avoid this, first ask for
  75.        _E_x_p_o_s_e events and then map the window, so the client pro-
  76.        cesses input events as usual.  The event list will include
  77.        _E_x_p_o_s_e for each window that has appeared on the screen.
  78.        The client's normal response to an _E_x_p_o_s_e event should be
  79.        to repaint the window.  This method usually leads to sim-
  80.        pler programs and to proper interaction with window man-
  81.        agers.
  82.  
  83.        _X_M_a_p_W_i_n_d_o_w can generate a _B_a_d_W_i_n_d_o_w error.
  84.  
  85.        The _X_M_a_p_R_a_i_s_e_d function essentially is similar to _X_M_a_p_W_i_n_-
  86.        _d_o_w in that it maps the window and all of its subwindows
  87.        that have had map requests.  However, it also raises the
  88.        specified window to the top of the stack.
  89.  
  90.        _X_M_a_p_R_a_i_s_e_d can generate a _B_a_d_W_i_n_d_o_w error.
  91.  
  92.        The _X_M_a_p_S_u_b_w_i_n_d_o_w_s function maps all subwindows for a
  93.        specified window in top-to-bottom stacking order.  The X
  94.        server generates _E_x_p_o_s_e events on each newly displayed
  95.        window.    This may be much more efficient than mapping many
  96.        windows one at a time because the server needs to perform
  97.        much of the work only once, for all of the windows, rather
  98.        than for each window.
  99.  
  100.        _X_M_a_p_S_u_b_w_i_n_d_o_w_s can generate a _B_a_d_W_i_n_d_o_w error.
  101.  
  102. DDIIAAGGNNOOSSTTIICCSS
  103.        _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  104.          defined Window.
  105.  
  106. SSEEEE AALLSSOO
  107.        XChangeWindowAttributes(3X11), XConfigureWindow(3X11),
  108.        XCreateWindow(3X11), XDestroyWindow(3X11), XRaiseWin-
  109.        dow(3X11), XUnmapWindow(3X11)
  110.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.