Function

GdkWindowInvalidateHandlerFunc

since: 3.10

Declaration

void
(* GdkWindowInvalidateHandlerFunc) (
  GdkWindow* window,
  cairo_region_t* region
)

Description [src]

Whenever some area of the window is invalidated (directly in the window or in a child window) this gets called with region in the coordinate space of window. You can use region to just keep track of the dirty region, or you can actually change region in case you are doing display tricks like showing a child in multiple places.

Available since: 3.10

Parameters

window

Type: GdkWindow

A GdkWindow.

The data is owned by the caller of the function.
region

Type: cairo_region_t

A #cairo_region_t.

The data is owned by the caller of the function.