create


Description:

public static Renderer? create (string? label, Attributes attrs)

Create and initialize a renderer for the given attributes and label.

These renderers should have been preregistered via register.

Parameters:

label

The label for the renderer

attrs

The attributes to render

Returns:

a new renderer, or null if no renderer matched the attributes; the render should be released with unref