Like gdk_window_shape_combine_mask(), 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.
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.
window :
a GdkWindow
mask :
shape mask, or NULL
x :
X position of shape mask with respect to window
y :
Y position of shape mask with respect to window
[^] # Voici la fonction responsable
Posté par pshunter . En réponse au message Affichage OSD. Évalué à 1.
gdk_window_input_shape_combine_mask ()
void gdk_window_input_shape_combine_mask (GdkWindow *window,
GdkBitmap *mask,
gint x,
gint y);
Like gdk_window_shape_combine_mask(), 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.
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.
window :
a GdkWindow
mask :
shape mask, or NULL
x :
X position of shape mask with respect to window
y :
Y position of shape mask with respect to window
Since 2.10