create_valist


Description:

[ CCode ( returns_floating_reference = true ) ]
[ Version ( since = "1.20" ) ]
public Element? create_valist (string? first, va_list? properties)

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

properties

list of properties

Returns:

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