| 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 |
GI.Atk.Objects.Relation
Contents
Description
- newtype Relation = Relation (ManagedPtr Relation)
- class GObject o => IsRelation o
- toRelation :: IsRelation o => o -> IO Relation
- noRelation :: Maybe Relation
- data RelationAddTargetMethodInfo
- relationAddTarget :: (MonadIO m, IsRelation a, IsObject b) => a -> b -> m ()
- data RelationGetRelationTypeMethodInfo
- relationGetRelationType :: (MonadIO m, IsRelation a) => a -> m RelationType
- data RelationGetTargetMethodInfo
- relationGetTarget :: (MonadIO m, IsRelation a) => a -> m [Object]
- relationNew :: MonadIO m => [Object] -> RelationType -> m Relation
- data RelationRemoveTargetMethodInfo
- relationRemoveTarget :: (MonadIO m, IsRelation a, IsObject b) => a -> b -> m Bool
- data RelationRelationTypePropertyInfo
- constructRelationRelationType :: IsRelation o => RelationType -> IO (GValueConstruct o)
- getRelationRelationType :: (MonadIO m, IsRelation o) => o -> m RelationType
- relationRelationType :: AttrLabelProxy "relationType"
- setRelationRelationType :: (MonadIO m, IsRelation o) => o -> RelationType -> m ()
- data RelationTargetPropertyInfo
- clearRelationTarget :: (MonadIO m, IsRelation o) => o -> m ()
- constructRelationTarget :: IsRelation o => ValueArray -> IO (GValueConstruct o)
- getRelationTarget :: (MonadIO m, IsRelation o) => o -> m (Maybe ValueArray)
- relationTarget :: AttrLabelProxy "target"
- setRelationTarget :: (MonadIO m, IsRelation o) => o -> ValueArray -> m ()
Exported types
Instances
| GObject Relation Source # | |
| IsObject Relation Source # | |
| IsRelation 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 # | |
| HasAttributeList * Relation Source # | |
| type SignalList Relation Source # | |
| type AttributeList Relation Source # | |
class GObject o => IsRelation o Source #
Instances
| (GObject a, UnknownAncestorError Constraint Relation a) => IsRelation a Source # | |
| IsRelation Relation Source # | |
toRelation :: IsRelation o => o -> IO Relation Source #
Methods
addTarget
data RelationAddTargetMethodInfo Source #
Instances
| ((~) * signature (b -> m ()), MonadIO m, IsRelation a, IsObject b) => MethodInfo * RelationAddTargetMethodInfo a signature Source # | |
relationAddTarget :: (MonadIO m, IsRelation a, IsObject b) => a -> b -> m () Source #
getRelationType
data RelationGetRelationTypeMethodInfo Source #
Instances
| ((~) * signature (m RelationType), MonadIO m, IsRelation a) => MethodInfo * RelationGetRelationTypeMethodInfo a signature Source # | |
relationGetRelationType :: (MonadIO m, IsRelation a) => a -> m RelationType Source #
getTarget
data RelationGetTargetMethodInfo Source #
Instances
| ((~) * signature (m [Object]), MonadIO m, IsRelation a) => MethodInfo * RelationGetTargetMethodInfo a signature Source # | |
relationGetTarget :: (MonadIO m, IsRelation a) => a -> m [Object] Source #
new
relationNew :: MonadIO m => [Object] -> RelationType -> m Relation Source #
removeTarget
data RelationRemoveTargetMethodInfo Source #
Instances
| ((~) * signature (b -> m Bool), MonadIO m, IsRelation a, IsObject b) => MethodInfo * RelationRemoveTargetMethodInfo a signature Source # | |
relationRemoveTarget :: (MonadIO m, IsRelation a, IsObject b) => a -> b -> m Bool Source #
Properties
relationType
data RelationRelationTypePropertyInfo Source #
Instances
| AttrInfo RelationRelationTypePropertyInfo Source # | |
| type AttrSetTypeConstraint RelationRelationTypePropertyInfo Source # | |
| type AttrOrigin RelationRelationTypePropertyInfo Source # | |
| type AttrLabel RelationRelationTypePropertyInfo Source # | |
| type AttrGetType RelationRelationTypePropertyInfo Source # | |
| type AttrBaseTypeConstraint RelationRelationTypePropertyInfo Source # | |
| type AttrAllowedOps RelationRelationTypePropertyInfo Source # | |
constructRelationRelationType :: IsRelation o => RelationType -> IO (GValueConstruct o) Source #
getRelationRelationType :: (MonadIO m, IsRelation o) => o -> m RelationType Source #
relationRelationType :: AttrLabelProxy "relationType" Source #
setRelationRelationType :: (MonadIO m, IsRelation o) => o -> RelationType -> m () Source #
target
data RelationTargetPropertyInfo Source #
Instances
| AttrInfo RelationTargetPropertyInfo Source # | |
| type AttrSetTypeConstraint RelationTargetPropertyInfo Source # | |
| type AttrOrigin RelationTargetPropertyInfo Source # | |
| type AttrLabel RelationTargetPropertyInfo Source # | |
| type AttrGetType RelationTargetPropertyInfo Source # | |
| type AttrBaseTypeConstraint RelationTargetPropertyInfo Source # | |
| type AttrAllowedOps RelationTargetPropertyInfo Source # | |
clearRelationTarget :: (MonadIO m, IsRelation o) => o -> m () Source #
constructRelationTarget :: IsRelation o => ValueArray -> IO (GValueConstruct o) Source #
getRelationTarget :: (MonadIO m, IsRelation o) => o -> m (Maybe ValueArray) Source #
relationTarget :: AttrLabelProxy "target" Source #
setRelationTarget :: (MonadIO m, IsRelation o) => o -> ValueArray -> m () Source #