Transfers ownership of the update area from window to the caller of the function. That is, after calling this function, window will no longer have an invalid/dirty region; the update area is removed from window and handed to you. If a window has no update area, Window.getUpdateArea returns NULL. You are responsible for calling Region.destroy on the returned region if it’s non-NULL.

class Window

Return Value

Type: Region

the update area for window