Gtk.Widget.prototype.input_shape_combine_region

function input_shape_combine_region(region:cairo.Region):void {
    // Gjs wrapper for gtk_widget_input_shape_combine_region()
}

Sets an input shape for this widget's GDK window. This allows for windows which react to mouse click in a nonrectangular region, see Gdk.input_shape_combine_region for more information.

Since 3.0

region

shape to be added, or null to remove an existing shape