set_bind


Description:

public bool set_bind (Holder bind_to) throws Error

Sets this to change when bind_to changes (and does not make bind_to change when this changes).

For the operation to succeed, the GType of this and bind_to must be the same, with the exception that any of them can have a GDA_TYPE_NULL type (in this situation, the GType of the two Holder objects involved is set to match the other when any of them sets its type to something different than GDA_TYPE_NULL).

If bind_to is null, then this will not be bound anymore.

Parameters:

this

a Holder

bind_to

a Holder or null

Returns:

TRUE if no error occurred




2022 vala-language.org