gi-gtk-4.0.4: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
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 Widget, it is also implemented by ConstraintGuide.

Synopsis

Exported types

newtype ConstraintTarget Source #

Memory-managed wrapper type.

Constructors

ConstraintTarget (ManagedPtr ConstraintTarget) 

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