make_valist


Description:

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

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

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

Parameters:

factoryname

a named factory to instantiate

first

name of first property

properties

list of properties

Returns:

new Element or null if unable to create element