newv


Description:

[ Version ( deprecated = true , deprecated_since = "2.54" ) ]
public static Object newv (Type type, Parameter[] parameters)

Warning: newv is deprecated since 2.54.

Creates a new instance of a Object subtype and sets its properties.

Note:

Use new_with_properties instead. deprecated. See Parameter for more information.

Construction parameters (see g_param_construct, g_param_construct_only ) which are not explicitly specified are set to their default values.

Parameters:

parameters

an array of Parameter

n_parameters

the length of the parameters array

object_type

the type id of the Object subtype to instantiate

Returns:

a new instance of object_type




2022 vala-language.org