ConstraintGuide
A GtkConstraintGuide
is an invisible layout element in a GtkConstraintLayout
.
The GtkConstraintLayout
treats guides like widgets. They can be used as the source or target of a GtkConstraint
.
Guides have a minimum, maximum and natural size. Depending on the constraints that are applied, they can act like a guideline that widgets can be aligned to, or like flexible space.
Unlike a GtkWidget
, a GtkConstraintGuide
will not be drawn.
Skipped during bindings generation
parameter
width
: width: Out parameter is not supportedparameter
width
: width: Out parameter is not supportedparameter
width
: width: Out parameter is not supportedmethod
max-height
: Property has no getter nor settermethod
max-width
: Property has no getter nor settermethod
min-height
: Property has no getter nor settermethod
min-width
: Property has no getter nor settermethod
nat-height
: Property has no getter nor settermethod
nat-width
: Property has no getter nor setter
Constructors
Properties
The GtkConstraintStrength
to be used for the constraint on the natural size of the guide.
Functions
Retrieves the strength set using gtk_constraint_guide_set_strength().
Sets the maximum size of @guide.
Sets the minimum size of @guide.
Sets the natural size of @guide.
Sets the strength of the constraint on the natural size of the given GtkConstraintGuide
.