Class
GtkConstraintGuide
Description [src]
final class Gtk.ConstraintGuide : GObject.Object
implements Gtk.ConstraintTarget {
/* No available fields */
}
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.
Instance methods
gtk_constraint_guide_get_strength
Retrieves the strength set using gtk_constraint_guide_set_strength().
gtk_constraint_guide_set_strength
Sets the strength of the constraint on the natural size of the
given GtkConstraintGuide
.
Properties
Gtk.ConstraintGuide:strength
The GtkConstraintStrength
to be used for the constraint on
the natural size of the guide.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.