set_default_value


Description:

public void set_default_value (Value value)

Sets the default value within the holder.

If value is null then this won't have a default value anymore. To set a default value to null, then pass a Value created using value_new_null.

NOTE: the default value does not need to be of the same type as the one required by this.

Parameters:

this

a Holder object

value

a value to set the holder's default value, or null




2022 vala-language.org