Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- newtype ConstraintTarget = ConstraintTarget (ManagedPtr ConstraintTarget)
- class (GObject o, IsDescendantOf ConstraintTarget o) => IsConstraintTarget o
- toConstraintTarget :: (MonadIO m, IsConstraintTarget o) => o -> m ConstraintTarget
Exported types
newtype ConstraintTarget Source #
Memory-managed wrapper type.
ConstraintTarget (ManagedPtr ConstraintTarget) |
Instances
Eq ConstraintTarget Source # | |
Defined in GI.Gtk.Interfaces.ConstraintTarget (==) :: ConstraintTarget -> ConstraintTarget -> Bool # (/=) :: ConstraintTarget -> ConstraintTarget -> Bool # | |
GObject ConstraintTarget Source # | |
Defined in GI.Gtk.Interfaces.ConstraintTarget | |
ManagedPtrNewtype ConstraintTarget Source # | |
Defined in GI.Gtk.Interfaces.ConstraintTarget toManagedPtr :: ConstraintTarget -> ManagedPtr ConstraintTarget | |
TypedObject ConstraintTarget Source # | |
Defined in GI.Gtk.Interfaces.ConstraintTarget | |
HasParentTypes ConstraintTarget Source # | |
Defined in GI.Gtk.Interfaces.ConstraintTarget | |
IsGValue (Maybe ConstraintTarget) Source # | Convert |
Defined in GI.Gtk.Interfaces.ConstraintTarget gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ConstraintTarget -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ConstraintTarget) | |
type ParentTypes ConstraintTarget Source # | |
Defined in GI.Gtk.Interfaces.ConstraintTarget |
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
(GObject o, IsDescendantOf ConstraintTarget o) => IsConstraintTarget o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.