[ CCode ( returns_floating_reference = true ) ]
public Element? create (string? name)
Create a new element of the type defined by the given elementfactory.
It will be given the name supplied, since all elements require a name as their first argument.
this |
factory to instantiate |
name |
name of new element, or |
new Element or |