new_valist


Description:

public static Object new_valist (Type type, string? firstprop, va_list var_args)

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

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

Parameters:

var_args

the value of the first property, followed optionally by more name/value pairs, followed by null

first_property_name

the name of the first property

object_type

the type id of the Object subtype to instantiate

Returns:

a new instance of object_type