gdkWindowShapeCombineMask {RGtk2}R Documentation

gdkWindowShapeCombineMask

Description

Applies a shape mask to window. Pixels in window corresponding to set bits in the mask will be visible; pixels in window corresponding to unset bits in the mask will be transparent. This gives a non-rectangular window.

Usage

gdkWindowShapeCombineMask(object, shape.mask = NULL, offset.x, offset.y)

Arguments

object [GdkWindow] a GdkWindow
shape.mask [GdkBitmap] shape mask
offset.x [integer] X position of shape mask with respect to window
offset.y [integer] Y position of shape mask with respect to window

Details

If mask is NULL, the shape mask will be unset, and the x/y parameters are not used.

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 the functionality is always present.

This function works on both toplevel and child windows.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]