Window.endPaint

void endPaint()

Indicates that the backing store created by the most recent call to [gdk.window.Window.beginPaintRegion] should be copied onscreen and deleted, leaving the next-most-recent backing store or no backing store at all as the active paint region. See [gdk.window.Window.beginPaintRegion] for full details.

It is an error to call this function without a matching [gdk.window.Window.beginPaintRegion] first.