Declaration [src]

gdk_window_get_visible_region (
  GdkWindow* window

Description [src]

Computes the region of the window that is potentially visible. This does not necessarily take into account if the window is obscured by other windows, but no area outside of this region is visible.

Return value

Type: cairo_region_t

A #cairo_region_t. This must be freed with cairo_region_destroy() when you are done.

The caller of the method takes ownership of the data, and is responsible for freeing it.