Gdk.Window.InvalidateMaybeRecurse Method
Adds a region to the update area for a window and some of its children


public void InvalidateMaybeRecurse (Region region, InvalidateMaybeRecurseChildFunc child_func)


A Gdk.Region
Function to use to decide if to recurse to a child. null means never recurse.


Adds region to the update area for the window. The update area is the region that needs to be redrawn, or "dirty region." The call Window.ProcessUpdates sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of the whole window in response to those expose events. GDK will call Window.ProcessAllUpdates on your behalf whenever your program returns to the main loop and becomes idle, so normally there's no need to do that manually, you just need to invalidate regions that you know should be redrawn. The child_func parameter controls whether the region of each child window that intersects region will also be invalidated. Only children for which child_func returns true will have the area invalidated.


Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)