Creates an appropriate gsk.renderer.Renderer instance for the given surface.
If the GSK_RENDERER environment variable is set, GSK will try that renderer first, before trying the backend-specific default. The ultimate fallback is the cairo renderer.
The renderer will be realized before it is returned.
a gdk.surface.Surface
a gsk.renderer.Renderer
Creates an appropriate gsk.renderer.Renderer instance for the given surface.
If the GSK_RENDERER environment variable is set, GSK will try that renderer first, before trying the backend-specific default. The ultimate fallback is the cairo renderer.
The renderer will be realized before it is returned.