Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype Relation = Relation (ForeignPtr Relation)
- class GObject o => RelationK o
- toRelation :: RelationK o => o -> IO Relation
- noRelation :: Maybe Relation
- data RelationAddTargetMethodInfo
- relationAddTarget :: (MonadIO m, RelationK a, ObjectK b) => a -> b -> m ()
- data RelationGetRelationTypeMethodInfo
- relationGetRelationType :: (MonadIO m, RelationK a) => a -> m RelationType
- data RelationGetTargetMethodInfo
- relationGetTarget :: (MonadIO m, RelationK a) => a -> m [Object]
- relationNew :: MonadIO m => [Object] -> RelationType -> m Relation
- data RelationRemoveTargetMethodInfo
- relationRemoveTarget :: (MonadIO m, RelationK a, ObjectK b) => a -> b -> m Bool
- data RelationRelationTypePropertyInfo
- constructRelationRelationType :: RelationType -> IO ([Char], GValue)
- getRelationRelationType :: (MonadIO m, RelationK o) => o -> m RelationType
- setRelationRelationType :: (MonadIO m, RelationK o) => o -> RelationType -> m ()
- data RelationTargetPropertyInfo
- constructRelationTarget :: ValueArray -> IO ([Char], GValue)
- getRelationTarget :: (MonadIO m, RelationK o) => o -> m ValueArray
- setRelationTarget :: (MonadIO m, RelationK o) => o -> ValueArray -> m ()
Exported types
GObject Relation Source | |
((~) * info (ResolveRelationMethod t Relation), MethodInfo * info Relation p) => IsLabel t (Relation -> p) Source | |
((~) * info (ResolveRelationMethod t Relation), MethodInfo * info Relation p) => IsLabelProxy t (Relation -> p) Source | |
type ParentTypes Relation Source | |
type AttributeList Relation Source | |
type SignalList Relation Source |
toRelation :: RelationK o => o -> IO Relation Source
Methods
relationAddTarget
data RelationAddTargetMethodInfo Source
((~) (TYPE Lifted) signature (b -> m ()), MonadIO m, RelationK a, ObjectK b) => MethodInfo (TYPE Lifted) RelationAddTargetMethodInfo a signature Source | |
relationAddTarget :: (MonadIO m, RelationK a, ObjectK b) => a -> b -> m () Source
relationGetRelationType
data RelationGetRelationTypeMethodInfo Source
((~) (TYPE Lifted) signature (m RelationType), MonadIO m, RelationK a) => MethodInfo (TYPE Lifted) RelationGetRelationTypeMethodInfo a signature Source | |
relationGetRelationType :: (MonadIO m, RelationK a) => a -> m RelationType Source
relationGetTarget
data RelationGetTargetMethodInfo Source
((~) (TYPE Lifted) signature (m [Object]), MonadIO m, RelationK a) => MethodInfo (TYPE Lifted) RelationGetTargetMethodInfo a signature Source | |
relationGetTarget :: (MonadIO m, RelationK a) => a -> m [Object] Source
relationNew
relationNew :: MonadIO m => [Object] -> RelationType -> m Relation Source
relationRemoveTarget
Properties
RelationType
data RelationRelationTypePropertyInfo Source
constructRelationRelationType :: RelationType -> IO ([Char], GValue) Source
getRelationRelationType :: (MonadIO m, RelationK o) => o -> m RelationType Source
setRelationRelationType :: (MonadIO m, RelationK o) => o -> RelationType -> m () Source
Target
data RelationTargetPropertyInfo Source
AttrInfo RelationTargetPropertyInfo Source | |
type AttrLabel RelationTargetPropertyInfo = "target" Source | |
type AttrGetType RelationTargetPropertyInfo = ValueArray Source | |
type AttrBaseTypeConstraint RelationTargetPropertyInfo = RelationK Source | |
type AttrSetTypeConstraint RelationTargetPropertyInfo = TYPE Lifted ~ ValueArray Source | |
type AttrAllowedOps RelationTargetPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructRelationTarget :: ValueArray -> IO ([Char], GValue) Source
getRelationTarget :: (MonadIO m, RelationK o) => o -> m ValueArray Source
setRelationTarget :: (MonadIO m, RelationK o) => o -> ValueArray -> m () Source