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

  1.  
  2.  
  3.  
  4. XDestroyWindow(3X11)      XLIB FUNCTIONS     XDestroyWindow(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XDestroyWindow, XDestroySubwindows - destroy windows
  9.  
  10. SSYYNNTTAAXX
  11.        XDestroyWindow(_d_i_s_p_l_a_y, _w)
  12.          Display *_d_i_s_p_l_a_y;
  13.          Window _w;
  14.  
  15.        XDestroySubwindows(_d_i_s_p_l_a_y, _w)
  16.          Display *_d_i_s_p_l_a_y;
  17.          Window _w;
  18.  
  19. AARRGGUUMMEENNTTSS
  20.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  21.  
  22.        _w     Specifies the window.
  23.  
  24. DDEESSCCRRIIPPTTIIOONN
  25.        The _X_D_e_s_t_r_o_y_W_i_n_d_o_w function destroys the specified window
  26.        as well as all of its subwindows and causes the X server
  27.        to generate a _D_e_s_t_r_o_y_N_o_t_i_f_y event for each window.  The
  28.        window should never be referenced again.     If the window
  29.        specified by the w argument is mapped, it is unmapped
  30.        automatically.  The ordering of the _D_e_s_t_r_o_y_N_o_t_i_f_y events
  31.        is such that for any given window being destroyed,
  32.        _D_e_s_t_r_o_y_N_o_t_i_f_y is generated on any inferiors of the window
  33.        before being generated on the window itself.  The ordering
  34.        among siblings and across subhierarchies is not otherwise
  35.        constrained.  If the window you specified is a root win-
  36.        dow, no windows are destroyed.  Destroying a mapped window
  37.        will generate _E_x_p_o_s_e events on other windows that were
  38.        obscured by the window being destroyed.
  39.  
  40.        _X_D_e_s_t_r_o_y_W_i_n_d_o_w can generate a _B_a_d_W_i_n_d_o_w error.
  41.  
  42.        The _X_D_e_s_t_r_o_y_S_u_b_w_i_n_d_o_w_s function destroys all inferior win-
  43.        dows of the specified window, in bottom-to-top stacking
  44.        order.  It causes the X server to generate a _D_e_s_t_r_o_y_N_o_t_i_f_y
  45.        event for each window.  If any mapped subwindows were
  46.        actually destroyed, _X_D_e_s_t_r_o_y_S_u_b_w_i_n_d_o_w_s causes the X server
  47.        to generate _E_x_p_o_s_e events on the specified window.  This
  48.        is much more efficient than deleting many windows one at a
  49.        time because much of the work need be performed only once
  50.        for all of the windows, rather than for each window.  The
  51.        subwindows should never be referenced again.
  52.  
  53.        _X_D_e_s_t_r_o_y_S_u_b_w_i_n_d_o_w_s can generate a _B_a_d_W_i_n_d_o_w error.
  54.  
  55. DDIIAAGGNNOOSSTTIICCSS
  56.        _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  57.          defined Window.
  58.  
  59. SSEEEE AALLSSOO
  60.        XChangeWindowAttributes(3X11), XConfigureWindow(3X11),
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XDestroyWindow(3X11)      XLIB FUNCTIONS     XDestroyWindow(3X11)
  71.  
  72.  
  73.        XCreateWindow(3X11), XMapWindow(3X11), XRaiseWindow(3X11),
  74.        XUnmapWindow(3X11)
  75.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  76.  
  77.  
  78.  
  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.