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

newtype ConstraintTarget Source #

Memory-managed wrapper type.

Instances

Instances details
Eq ConstraintTarget Source # 
Instance details

Defined in GI.Gtk.Interfaces.ConstraintTarget

GObject ConstraintTarget Source # 
Instance details

Defined in GI.Gtk.Interfaces.ConstraintTarget

ManagedPtrNewtype ConstraintTarget Source # 
Instance details

Defined in GI.Gtk.Interfaces.ConstraintTarget

TypedObject ConstraintTarget Source # 
Instance details

Defined in GI.Gtk.Interfaces.ConstraintTarget

Methods

glibType :: IO GType #

HasParentTypes ConstraintTarget Source # 
Instance details

Defined in GI.Gtk.Interfaces.ConstraintTarget

IsGValue (Maybe ConstraintTarget) Source #

Convert ConstraintTarget to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Interfaces.ConstraintTarget

Methods

gvalueGType_ :: IO GType #

gvalueSet_ :: Ptr GValue -> Maybe ConstraintTarget -> IO () #

gvalueGet_ :: Ptr GValue -> IO (Maybe ConstraintTarget) #

type ParentTypes ConstraintTarget Source # 
Instance details

Defined in GI.Gtk.Interfaces.ConstraintTarget

type ParentTypes ConstraintTarget = '[Object]

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