home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XMapWindow(3X11) XLIB FUNCTIONS XMapWindow(3X11)
-
-
- NNAAMMEE
- XMapWindow, XMapRaised, XMapSubwindows - map windows
-
- SSYYNNTTAAXX
- XMapWindow(_d_i_s_p_l_a_y, _w)
- Display *_d_i_s_p_l_a_y;
- Window _w;
-
- XMapRaised(_d_i_s_p_l_a_y, _w)
- Display *_d_i_s_p_l_a_y;
- Window _w;
-
- XMapSubwindows(_d_i_s_p_l_a_y, _w)
- Display *_d_i_s_p_l_a_y;
- Window _w;
-
- AARRGGUUMMEENNTTSS
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _w Specifies the window.
-
- DDEESSCCRRIIPPTTIIOONN
- The _X_M_a_p_W_i_n_d_o_w function maps the window and all of its
- subwindows that have had map requests. Mapping a window
- that has an unmapped ancestor does not display the window
- but marks it as eligible for display when the ancestor
- becomes mapped. Such a window is called unviewable. When
- all its ancestors are mapped, the window becomes viewable
- and will be visible on the screen if it is not obscured by
- another window. This function has no effect if the window
- is already mapped.
-
- If the override-redirect of the window is _F_a_l_s_e and if
- 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
- the parent window, then the X server generates a _M_a_p_R_e_-
- _q_u_e_s_t event, and the _X_M_a_p_W_i_n_d_o_w function does not map the
- window. Otherwise, the window is mapped, and the X server
- generates a _M_a_p_N_o_t_i_f_y event.
-
- If the window becomes viewable and no earlier contents for
- it are remembered, the X server tiles the window with its
- background. If the window's background is undefined, the
- existing screen contents are not altered, and the X server
- generates zero or more _E_x_p_o_s_e events. If backing-store
- was maintained while the window was unmapped, no _E_x_p_o_s_e
- events are generated. If backing-store will now be main-
- tained, a full-window exposure is always generated. Oth-
- erwise, only visible regions may be reported. Similar
- tiling and exposure take place for any newly viewable
- inferiors.
-
- 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-
- ates _E_x_p_o_s_e events on each _I_n_p_u_t_O_u_t_p_u_t window that it
- causes to be displayed. If the client maps and paints the
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XMapWindow(3X11) XLIB FUNCTIONS XMapWindow(3X11)
-
-
- window and if the client begins processing events, the
- window is painted twice. To avoid this, first ask for
- _E_x_p_o_s_e events and then map the window, so the client pro-
- cesses input events as usual. The event list will include
- _E_x_p_o_s_e for each window that has appeared on the screen.
- The client's normal response to an _E_x_p_o_s_e event should be
- to repaint the window. This method usually leads to sim-
- pler programs and to proper interaction with window man-
- agers.
-
- _X_M_a_p_W_i_n_d_o_w can generate a _B_a_d_W_i_n_d_o_w error.
-
- The _X_M_a_p_R_a_i_s_e_d function essentially is similar to _X_M_a_p_W_i_n_-
- _d_o_w in that it maps the window and all of its subwindows
- that have had map requests. However, it also raises the
- specified window to the top of the stack.
-
- _X_M_a_p_R_a_i_s_e_d can generate a _B_a_d_W_i_n_d_o_w error.
-
- The _X_M_a_p_S_u_b_w_i_n_d_o_w_s function maps all subwindows for a
- specified window in top-to-bottom stacking order. The X
- server generates _E_x_p_o_s_e events on each newly displayed
- window. This may be much more efficient than mapping many
- windows one at a time because the server needs to perform
- much of the work only once, for all of the windows, rather
- than for each window.
-
- _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.
-
- DDIIAAGGNNOOSSTTIICCSS
- _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
- defined Window.
-
- SSEEEE AALLSSOO
- XChangeWindowAttributes(3X11), XConfigureWindow(3X11),
- XCreateWindow(3X11), XDestroyWindow(3X11), XRaiseWin-
- dow(3X11), XUnmapWindow(3X11)
- _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 2
-
-
-