Window.invalidateRect

void invalidateRect(gdk.rectangle.Rectangle rect, bool invalidateChildren)

A convenience wrapper around gdk.window.Window.invalidateRegion which invalidates a rectangular region. See gdk.window.Window.invalidateRegion for details.

Parameters

rectrectangle to invalidate or null to invalidate the whole window
invalidateChildrenwhether to also invalidate child windows