Method

GtkWidgetshape_combine_region

since: 3.0

Declaration [src]

void
gtk_widget_shape_combine_region (
  GtkWidget* widget,
  cairo_region_t* region
)

Description [src]

Sets a shape for this widget’s GDK window. This allows for transparent windows etc., see gdk_window_shape_combine_region() for more information.

Available since: 3.0

Parameters

region

Type: cairo_region_t

Shape to be added, or NULL to remove an existing shape.

The argument can be NULL.
The data is owned by the caller of the method.