Struct glib::object::BindingBuilder

source ·
pub struct BindingBuilder<'a, 'f, 't> { /* private fields */ }
Expand description

Builder for object property bindings.

Implementations§

Transform changed property values from the target object to the source object with the given closure.

This function operates on glib::Values. See Self::transform_from for a version which operates on concrete argument and return types.

Transform changed property values from the target object to the source object with the given closure.

This function operates on concrete argument and return types. See Self::transform_from_with_values for a version which operates on glib::Values.

Transform changed property values from the source object to the target object with the given closure.

This function operates on glib::Values. See Self::transform_to for a version which operates on concrete argument and return types.

Transform changed property values from the source object to the target object with the given closure.

This function operates on concrete argument and return types. See Self::transform_to_with_values for a version which operates on glib::Values.

Bind the properties with the given flags.

Set the binding flags to BIDIRECTIONAL.

Set the binding flags to SYNC_CREATE.

Set the binding flags to INVERT_BOOLEAN.

Establish the property binding.

Panics

This panics if the provided properties do not exist.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.