gdkWindowShapeCombineRegion      package:RGtk2      R Documentation

_g_d_k_W_i_n_d_o_w_S_h_a_p_e_C_o_m_b_i_n_e_R_e_g_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Makes pixels in 'window' outside 'shape.region' be transparent, so
     that the window may be nonrectangular. See also
     'gdkWindowShapeCombineMask' to use a bitmap as the mask.

_U_s_a_g_e:

     gdkWindowShapeCombineRegion(object, shape.region = NULL, offset.x, offset.y)

_A_r_g_u_m_e_n_t_s:

'object': ['GdkWindow']  a 'GdkWindow'

'shape.region': ['GdkRegion']  region of window to be non-transparent

'offset.x': [integer]  X position of 'shape.region' in 'window'
          coordinates

'offset.y': [integer]  Y position of 'shape.region' in 'window'
          coordinates

_D_e_t_a_i_l_s:

     If 'shape.region' is 'NULL', the shape will be unset, so the whole
     window will be opaque again. 'offset.x' and 'offset.y' are ignored
     if 'shape.region' is 'NULL'.

     On the X11 platform, this uses an X server extension which is
     widely available on most common platforms, but not available on
     very old X servers, and occasionally the implementation will be
     buggy. On servers without the shape extension, this function will
     do nothing.

     On the Win32 platform, this functionality is always present.

     This function works on both toplevel and child windows.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

