Grx.set_mode_default_graphics

function set_mode_default_graphics(clear: Boolean): Boolean {
    // Gjs wrapper for grx_set_mode_default_graphics()
}
  

Set the mode to the default graphics mode.

This is 640x480x16 by default but can be changed by Grx.set_driver.

clear

If true, clear the screen after setting the mode.

Returns

true on success, otherwise false.