Grx.clear_screen

function clear_screen(bg: Grx.Color): void {
    // Gjs wrapper for grx_clear_screen()
}
  

Clears the screen using the specified background color.

Thanks to the special Grx.Color definition, you can do more than simple clear with this functions, by example with: |[<!-- language="C" --> grx_clear_screen (grx_color_to_xor_mode (grx_color_get_white ())); ]| the screen is negativized, do it again and the screen is restored.

bg

the background color