Struct gtk4::ConstraintBuilder [−][src]
pub struct ConstraintBuilder { /* fields omitted */ }
Expand description
A builder-pattern type to construct Constraint
objects.
Implementations
Create a new ConstraintBuilder
.
Build the Constraint
.
The constant value to be added to the property::Constraint::source-attribute
.
The multiplication factor to be applied to
the property::Constraint::source-attribute
.
The order relation between the terms of the constraint.
The source of the constraint.
The constraint will set the property::Constraint::target-attribute
property of the target using the property::Constraint::source-attribute
property of the source.
The attribute of the property::Constraint::source
read by the
constraint.
The strength of the constraint.
The strength can be expressed either using one of the symbolic values
of the ConstraintStrength
enumeration, or any positive integer
value.
The target of the constraint.
The constraint will set the property::Constraint::target-attribute
property of the target using the property::Constraint::source-attribute
property of the source widget.
The attribute of the property::Constraint::target
set by the constraint.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConstraintBuilder
impl !Send for ConstraintBuilder
impl !Sync for ConstraintBuilder
impl Unpin for ConstraintBuilder
impl UnwindSafe for ConstraintBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more