gi-gtk-4.0.5: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Interfaces.ConstraintTarget

Description

The GtkConstraintTarget interface is implemented by objects that can be used as source or target in GtkConstraints.

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