make_with_properties


Description:

[ CCode ( returns_floating_reference = true ) ]
[ Version ( since = "1.20" ) ]
public static Element? make_with_properties (string factoryname, string[]? names, Value[]? values)

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

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

Parameters:

factoryname

a named factory to instantiate

names

array of properties names

values

array of associated properties values

n

count of properties

Returns:

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




2022 vala-language.org