Cogl.Renderer.prototype.connect

function connect(): Cogl.Bool {
    // Gjs wrapper for cogl_renderer_connect()
}
  

Connects the configured renderer. Renderer connection isn't a very active process, it basically just means validating that any given constraint criteria can be satisfied and that a usable driver and window system backend can be found.

Since 1.10

Returns

true if there was no error while connecting the given renderer. false if there was an error.