validate_change


Description:

public virtual signal Error validate_change (Value new_value)

Gets emitted when holder is going to change its value.

One can connect to this signal to control which values holder can have (for example to implement some business rules)

Parameters:

new_value

the proposed new value for holder

Returns:

NULL if holder is allowed to change its value to new_value, or a Error otherwise.




2022 vala-language.org