ConstraintGuide
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_constraint_guide_get_type ()" ) ]
public sealed class ConstraintGuide :
Object,
ConstraintTarget
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.
Content:
Properties:
- public int max_height { get; set; }
The maximum height of the guide.
- public int max_width { get; set; }
The maximum width of the guide.
- public int min_height { get; set; }
The minimum height of the guide.
- public int min_width { get; set; }
The minimum width of the guide.
- public string name { get; set; }
A name that identifies the `GtkConstraintGuide`, for debugging.
- public int nat_height { get; set; }
The preferred, or natural, height of the guide.
- public int nat_width { get; set; }
The preferred, or natural, width of the guide.
- public ConstraintStrength strength { get; set; }
The `GtkConstraintStrength` to be used for the constraint on the
natural size of the guide.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object