create_full


Description:

[ CCode ( returns_floating_reference = true ) ]
[ Version ( since = "1.20" ) ]
public Element? create_full (string? first, ...)

Create a new element of the type defined by the given elementfactory.

The supplied list of properties, will be passed at object construction.

Parameters:

this

factory to instantiate

first

name of the first property

...

null terminated list of properties

Returns:

new Element or null if the element couldn't be created