gi-gtk4-4.0.12: Gtk 4.x bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Interfaces.ConstraintTarget

Description

Makes it possible to use an object as source or target in a Constraint.

Besides GtkWidget, it is also implemented by GtkConstraintGuide.

Synopsis

Exported types

class (GObject o, IsDescendantOf ConstraintTarget o) => IsConstraintTarget o Source #

Type class for types which can be safely cast to ConstraintTarget, for instance with toConstraintTarget.

Instances

Instances details
(GObject o, IsDescendantOf ConstraintTarget o) => IsConstraintTarget o Source # 
Instance details

Defined in GI.Gtk.Interfaces.ConstraintTarget

toConstraintTarget :: (MonadIO m, IsConstraintTarget o) => o -> m ConstraintTarget Source #

Cast to ConstraintTarget, for types for which this is known to be safe. For general casts, use castTo.

Methods