a #cairo_region_t, in the same coordinate system as @widget->allocation. That is, relative to @widget->window for widgets which return %FALSE from gtk_widget_get_has_window(); relative to the parent window of @widget->window otherwise.
Return: A newly allocated region holding the intersection of @widget and @region.
Deprecated: Use gtk_widget_get_allocation() and cairo_region_intersect_rectangle() to get the same behavior.
Computes the intersection of a @widget’s area and @region, returning the intersection. The result may be empty, use cairo_region_is_empty() to check.