get_sane_init_value


Description:

public abstract Value? get_sane_init_value (Type type)

Creates a new GValue which holds a sane initial value to be used if no value is specifically provided.

For example for a simple string, this would return a new value containing the "" string.

Parameters:

this

an object which implements the DataHandler interface

type

a Type

Returns:

the new Value, or null if no such value can be created.




2022 vala-language.org