gi-atk-2.0.7: Atk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Objects.Relation

Contents

Description

 

Synopsis

Exported types

newtype Relation Source #

Constructors

Relation (ManagedPtr Relation) 

Instances

GObject Relation Source # 
IsObject Relation Source # 
IsRelation Relation Source # 
((~) * info (ResolveRelationMethod t Relation), MethodInfo * info Relation p) => IsLabel t (Relation -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Relation -> p #

((~) * info (ResolveRelationMethod t Relation), MethodInfo * info Relation p) => IsLabelProxy t (Relation -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Relation -> p

HasAttributeList * Relation Source # 
type SignalList Relation Source # 
type SignalList Relation
type AttributeList Relation Source # 
type AttributeList Relation

class GObject o => IsRelation o Source #

Instances

(GObject a, UnknownAncestorError Constraint Relation a) => IsRelation a Source # 
IsRelation Relation Source # 

Methods

addTarget

data RelationAddTargetMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsRelation a, IsObject b) => MethodInfo * RelationAddTargetMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy RelationAddTargetMethodInfo a -> signature -> s

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 # 

Methods

overloadedMethod :: MethodProxy RelationGetRelationTypeMethodInfo a -> signature -> s

getTarget

data RelationGetTargetMethodInfo Source #

Instances

((~) * signature (m [Object]), MonadIO m, IsRelation a) => MethodInfo * RelationGetTargetMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy RelationGetTargetMethodInfo a -> signature -> s

new

removeTarget

data RelationRemoveTargetMethodInfo Source #

Instances

((~) * signature (b -> m Bool), MonadIO m, IsRelation a, IsObject b) => MethodInfo * RelationRemoveTargetMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy RelationRemoveTargetMethodInfo a -> signature -> s

Properties

relationType

data RelationRelationTypePropertyInfo Source #

Instances

AttrInfo RelationRelationTypePropertyInfo Source # 

Associated Types

type AttrAllowedOps RelationRelationTypePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint RelationRelationTypePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint RelationRelationTypePropertyInfo :: * -> Constraint

type AttrGetType RelationRelationTypePropertyInfo :: *

type AttrLabel RelationRelationTypePropertyInfo :: Symbol

type AttrOrigin RelationRelationTypePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint RelationRelationTypePropertyInfo o => Proxy * RelationRelationTypePropertyInfo -> o -> IO (AttrGetType RelationRelationTypePropertyInfo)

attrSet :: (AttrBaseTypeConstraint RelationRelationTypePropertyInfo o, AttrSetTypeConstraint RelationRelationTypePropertyInfo b) => Proxy * RelationRelationTypePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint RelationRelationTypePropertyInfo o => Proxy * RelationRelationTypePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint RelationRelationTypePropertyInfo o, AttrSetTypeConstraint RelationRelationTypePropertyInfo b) => Proxy * RelationRelationTypePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint RelationRelationTypePropertyInfo Source # 
type AttrSetTypeConstraint RelationRelationTypePropertyInfo = * ~ RelationType
type AttrOrigin RelationRelationTypePropertyInfo Source # 
type AttrLabel RelationRelationTypePropertyInfo Source # 
type AttrLabel RelationRelationTypePropertyInfo = "relation-type"
type AttrGetType RelationRelationTypePropertyInfo Source # 
type AttrBaseTypeConstraint RelationRelationTypePropertyInfo Source # 
type AttrBaseTypeConstraint RelationRelationTypePropertyInfo = IsRelation
type AttrAllowedOps RelationRelationTypePropertyInfo Source # 
type AttrAllowedOps RelationRelationTypePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

relationRelationType :: AttrLabelProxy "relationType" Source #

target

data RelationTargetPropertyInfo Source #

Instances

AttrInfo RelationTargetPropertyInfo Source # 

Associated Types

type AttrAllowedOps RelationTargetPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint RelationTargetPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint RelationTargetPropertyInfo :: * -> Constraint

type AttrGetType RelationTargetPropertyInfo :: *

type AttrLabel RelationTargetPropertyInfo :: Symbol

type AttrOrigin RelationTargetPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint RelationTargetPropertyInfo o => Proxy * RelationTargetPropertyInfo -> o -> IO (AttrGetType RelationTargetPropertyInfo)

attrSet :: (AttrBaseTypeConstraint RelationTargetPropertyInfo o, AttrSetTypeConstraint RelationTargetPropertyInfo b) => Proxy * RelationTargetPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint RelationTargetPropertyInfo o => Proxy * RelationTargetPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint RelationTargetPropertyInfo o, AttrSetTypeConstraint RelationTargetPropertyInfo b) => Proxy * RelationTargetPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint RelationTargetPropertyInfo Source # 
type AttrSetTypeConstraint RelationTargetPropertyInfo = * ~ ValueArray
type AttrOrigin RelationTargetPropertyInfo Source # 
type AttrLabel RelationTargetPropertyInfo Source # 
type AttrLabel RelationTargetPropertyInfo = "target"
type AttrGetType RelationTargetPropertyInfo Source # 
type AttrGetType RelationTargetPropertyInfo = Maybe ValueArray
type AttrBaseTypeConstraint RelationTargetPropertyInfo Source # 
type AttrBaseTypeConstraint RelationTargetPropertyInfo = IsRelation
type AttrAllowedOps RelationTargetPropertyInfo Source # 
type AttrAllowedOps RelationTargetPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))))

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 #