Binding

Added in version 2.26.

class Binding(**properties: Any)

Superclasses: Object

Constructors:

Binding(**properties)

Methods

class Binding
unbind()

Explicitly releases the binding between the source and the target property expressed by binding.

This function will release the reference that is being held on the binding instance if the binding is still bound; if you want to hold on to the Binding instance after calling unbind(), you will need to hold a reference to it.

Note however that this function does not take ownership of binding, it only unrefs the reference that was initially created by bind_property() and is owned by the binding.

Added in version 2.38.

Properties

class Binding
props.flags: BindingFlags

Flags to be used to control the Binding

Added in version 2.26.

props.source: Object

The Object that should be used as the source of the binding

Added in version 2.26.

props.source_property: str

The name of the property of Binding:source that should be used as the source of the binding.

This should be in [canonical form][canonical-parameter-names] to get the best performance.

Added in version 2.26.

props.target: Object

The Object that should be used as the target of the binding

Added in version 2.26.

props.target_property: str

The name of the property of Binding:target that should be used as the target of the binding.

This should be in [canonical form][canonical-parameter-names] to get the best performance.

Added in version 2.26.