Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gdkWindowInputShapeCombineRegion

gdkWindowInputShapeCombineRegion


Description

Like gdkWindowShapeCombineRegion, but the shape applies only to event handling. Mouse events which happen while the pointer position corresponds to an unset bit in the mask will be passed on the window below window.

Usage

gdkWindowInputShapeCombineRegion(object, shape.region, offset.x, 
    offset.y)

Arguments

object

a GdkWindow

shape.region

region of window to be non-transparent

offset.x

X position of shape.region in window coordinates

offset.y

Y position of shape.region in window coordinates

Details

An input shape is typically used with RGBA windows. The alpha channel of the window defines which pixels are invisible and allows for nicely antialiased borders, and the input shape controls where the window is "clickable".

On the X11 platform, this requires version 1.1 of the shape extension.

On the Win32 platform, this functionality is not present and the function does nothing. Since 2.10

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.