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

  1.  
  2.  
  3.  
  4. XClearArea(3X11)      XLIB FUNCTIONS     XClearArea(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XClearArea, XClearWindow - clear area or window
  9.  
  10. SSYYNNTTAAXX
  11.        XClearArea(_d_i_s_p_l_a_y, _w, _x, _y, _w_i_d_t_h, _h_e_i_g_h_t, _e_x_p_o_s_u_r_e_s)
  12.          Display *_d_i_s_p_l_a_y;
  13.          Window _w;
  14.          int _x, _y;
  15.          unsigned int _w_i_d_t_h, _h_e_i_g_h_t;
  16.          Bool _e_x_p_o_s_u_r_e_s;
  17.  
  18.        XClearWindow(_d_i_s_p_l_a_y, _w)
  19.          Display *_d_i_s_p_l_a_y;
  20.          Window _w;
  21.  
  22. AARRGGUUMMEENNTTSS
  23.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  24.  
  25.        _e_x_p_o_s_u_r_e_s Specifies a Boolean value that indicates if
  26.          _E_x_p_o_s_e events are to be generated.
  27.  
  28.        _w     Specifies the window.
  29.  
  30.        _w_i_d_t_h
  31.        _h_e_i_g_h_t     Specify the width and height, which are the
  32.          dimensions of the rectangle.
  33.  
  34.        _x
  35.        _y     Specify the x and y coordinates, which are rela-
  36.          tive to the origin of the window and specify the
  37.          upper-left corner of the rectangle.
  38.  
  39. DDEESSCCRRIIPPTTIIOONN
  40.        The _X_C_l_e_a_r_A_r_e_a function paints a rectangular area in the
  41.        specified window according to the specified dimensions
  42.        with the window's background pixel or pixmap.  The subwin-
  43.        dow-mode effectively is _C_l_i_p_B_y_C_h_i_l_d_r_e_n.    If width is zero,
  44.        it is replaced with the current width of the window minus
  45.        x.  If height is zero, it is replaced with the current
  46.        height of the window minus y.  If the window has a defined
  47.        background tile, the rectangle clipped by any children is
  48.        filled with this tile.  If the window has background _N_o_n_e,
  49.        the contents of the window are not changed.  In either
  50.        case, if exposures is _T_r_u_e, one or more _E_x_p_o_s_e events are
  51.        generated for regions of the rectangle that are either
  52.        visible or are being retained in a backing store.  If you
  53.        specify a window whose class is _I_n_p_u_t_O_n_l_y, a _B_a_d_M_a_t_c_h
  54.        error results.
  55.  
  56.        _X_C_l_e_a_r_A_r_e_a can generate _B_a_d_M_a_t_c_h, _B_a_d_V_a_l_u_e, and _B_a_d_W_i_n_d_o_w
  57.        errors.
  58.  
  59.        The _X_C_l_e_a_r_W_i_n_d_o_w function clears the entire area in the
  60.        specified window and is equivalent to _X_C_l_e_a_r_A_r_e_a (display,
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XClearArea(3X11)      XLIB FUNCTIONS     XClearArea(3X11)
  71.  
  72.  
  73.        w, 0, 0, 0, 0, _F_a_l_s_e).  If the window has a defined back-
  74.        ground tile, the rectangle is tiled with a plane-mask of
  75.        all ones and _G_X_c_o_p_y function.  If the window has back-
  76.        ground _N_o_n_e, the contents of the window are not changed.
  77.        If you specify a window whose class is _I_n_p_u_t_O_n_l_y, a _B_a_d_-
  78.        _M_a_t_c_h error results.
  79.  
  80.        _X_C_l_e_a_r_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.
  81.  
  82. DDIIAAGGNNOOSSTTIICCSS
  83.        _B_a_d_M_a_t_c_h     An _I_n_p_u_t_O_n_l_y window is used as a Drawable.
  84.  
  85.        _B_a_d_V_a_l_u_e     Some numeric value falls outside the range of
  86.          values accepted by the request.  Unless a spe-
  87.          cific range is specified for an argument, the
  88.          full range defined by the argument's type is
  89.          accepted.  Any argument defined as a set of
  90.          alternatives can generate this error.
  91.  
  92.        _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  93.          defined Window.
  94.  
  95. SSEEEE AALLSSOO
  96.        XCopyArea(3X11)
  97.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.