This function clears the specified window by setting it to its background color. If the exposeflag parameter is non-zero, an exposure event is sent to the window after it has been cleared.
| Type | Name | Description |
|---|---|---|
| GR_WINDOW_ID | wid | The ID of the window to clear. |
| GR_BOOL | exposeflag | If non-zero an exposure event will be sent to the window after it has been cleared. |