ConstraintGuide


Object Hierarchy:

Gtk.ConstraintGuide Gtk.ConstraintGuide Gtk.ConstraintGuide GLib.Object GLib.Object GLib.Object->Gtk.ConstraintGuide Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.ConstraintGuide

Description:

[ CCode ( type_id = "gtk_constraint_guide_get_type ()" ) ]
public sealed class ConstraintGuide : Object, ConstraintTarget

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.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: