It derives from <GObject>.
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.
The maximum height of the guide.
Its value is a 32-bit integer.
Set it with (set! (constraint-guide:max-height self) value).
The maximum width of the guide.
Its value is a 32-bit integer.
Set it with (set! (constraint-guide:max-width self) value).
The minimum height of the guide.
Its value is a 32-bit integer.
Set it with (set! (constraint-guide:min-height self) value).
The minimum width of the guide.
Its value is a 32-bit integer.
Set it with (set! (constraint-guide:min-width self) value).
A name that identifies the
<GtkConstraintGuide>, for debugging.
Its value is a string, or #f.
Set it with (set! (constraint-guide:name self) value).
The preferred, or natural, height of the guide.
Its value is a 32-bit integer.
Set it with (set! (constraint-guide:nat-height self) value).
The preferred, or natural, width of the guide.
Its value is a 32-bit integer.
Set it with (set! (constraint-guide:nat-width self) value).
The <GtkConstraintStrength> to be used
for the constraint on the natural size of the guide.
Its value is a <GtkConstraintStrength>
(or, to set it, one of its symbols).
Set it with (set! (constraint-guide:strength self) value).
Gets the maximum size of self.
Passed: a <GtkConstraintGuide>.
a <GtkConstraintGuide> object
Returned: a 32-bit integer.
return location for the maximum width
Returned: a 32-bit integer.
return location for the maximum height
Gets the minimum size of self.
Passed: a <GtkConstraintGuide>.
a <GtkConstraintGuide> object
Returned: a 32-bit integer.
return location for the minimum width
Returned: a 32-bit integer.
return location for the minimum height
Retrieves the name set using constraint-guide:set-name.
Passed: a <GtkConstraintGuide>.
Returned: a string, or #f.
the name of the guide
Gets the natural size of self.
Passed: a <GtkConstraintGuide>.
a <GtkConstraintGuide> object
Returned: a 32-bit integer.
return location for the natural width
Returned: a 32-bit integer.
return location for the natural height
Retrieves the strength set using constraint-guide:set-strength.
Passed: a <GtkConstraintGuide>.
Returned: a <GtkConstraintStrength>.
the strength of the constraint on the natural size
Creates a new <GtkConstraintGuide> object.
Returned: a <GtkConstraintGuide>.
a new <GtkConstraintGuide> object.
Sets the maximum size of self.
If self is attached to a
<GtkConstraintLayout>, the constraints
will be updated to reflect the new size.
Passed: a <GtkConstraintGuide>.
a <GtkConstraintGuide> object
Passed: a 32-bit integer.
the new maximum width, or -1 to not change it
Passed: a 32-bit integer.
the new maximum height, or -1 to not change it
Sets the minimum size of self.
If self is attached to a
<GtkConstraintLayout>, the constraints
will be updated to reflect the new size.
Passed: a <GtkConstraintGuide>.
a <GtkConstraintGuide> object
Passed: a 32-bit integer.
the new minimum width, or -1 to not change it
Passed: a 32-bit integer.
the new minimum height, or -1 to not change it
Sets a name for the given
<GtkConstraintGuide>.
The name is useful for debugging purposes.
Passed: a <GtkConstraintGuide>.
Passed, or left out: a string, or #f.
a name for the self
Sets the natural size of self.
If self is attached to a
<GtkConstraintLayout>, the constraints
will be updated to reflect the new size.
Passed: a <GtkConstraintGuide>.
a <GtkConstraintGuide> object
Passed: a 32-bit integer.
the new natural width, or -1 to not change it
Passed: a 32-bit integer.
the new natural height, or -1 to not change it
Sets the strength of the constraint on the natural size of the given
<GtkConstraintGuide>.
Passed: a <GtkConstraintGuide>.
Passed: a <GtkConstraintStrength>, or
one of its symbols.
the strength of the constraint