Binding
Added in version 2.26.
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 theBinding
instance after callingunbind()
, 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 bybind_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 bindingAdded 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.