gi-gobject-2.0.2: GObject 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.GObject.Objects.Binding

Contents

Description

 

Synopsis

Exported types

newtype Binding Source #

Constructors

Binding (ForeignPtr Binding) 

Instances

GObject Binding Source # 

Methods

gobjectIsInitiallyUnowned :: Binding -> Bool

gobjectType :: Binding -> IO GType

((~) * info (ResolveBindingMethod t Binding), MethodInfo * info Binding p) => IsLabel t (Binding -> p) Source # 

Methods

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

((~) * info (ResolveBindingMethod t Binding), MethodInfo * info Binding p) => IsLabelProxy t (Binding -> p) Source # 

Methods

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

type SignalList Binding Source # 
type SignalList Binding
type ParentTypes Binding Source # 
type ParentTypes Binding
type AttributeList Binding Source # 
type AttributeList Binding

class GObject o => BindingK o Source #

Instances

(GObject o, IsDescendantOf Binding o) => BindingK o Source # 

Methods

bindingGetFlags

data BindingGetFlagsMethodInfo Source #

Instances

((~) * signature (m [BindingFlags]), MonadIO m, BindingK a) => MethodInfo * BindingGetFlagsMethodInfo a signature Source # 

Methods

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

bindingGetFlags :: (MonadIO m, BindingK a) => a -> m [BindingFlags] Source #

bindingGetSource

data BindingGetSourceMethodInfo Source #

Instances

((~) * signature (m Object), MonadIO m, BindingK a) => MethodInfo * BindingGetSourceMethodInfo a signature Source # 

Methods

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

bindingGetSource :: (MonadIO m, BindingK a) => a -> m Object Source #

bindingGetSourceProperty

data BindingGetSourcePropertyMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, BindingK a) => MethodInfo * BindingGetSourcePropertyMethodInfo a signature Source # 

Methods

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

bindingGetSourceProperty :: (MonadIO m, BindingK a) => a -> m Text Source #

bindingGetTarget

data BindingGetTargetMethodInfo Source #

Instances

((~) * signature (m Object), MonadIO m, BindingK a) => MethodInfo * BindingGetTargetMethodInfo a signature Source # 

Methods

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

bindingGetTarget :: (MonadIO m, BindingK a) => a -> m Object Source #

bindingGetTargetProperty

data BindingGetTargetPropertyMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, BindingK a) => MethodInfo * BindingGetTargetPropertyMethodInfo a signature Source # 

Methods

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

bindingGetTargetProperty :: (MonadIO m, BindingK a) => a -> m Text Source #

bindingUnbind

data BindingUnbindMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, BindingK a) => MethodInfo * BindingUnbindMethodInfo a signature Source # 

Methods

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

bindingUnbind :: (MonadIO m, BindingK a) => a -> m () Source #

Properties

Flags

data BindingFlagsPropertyInfo Source #

Instances

AttrInfo BindingFlagsPropertyInfo Source # 

Associated Types

type AttrAllowedOps BindingFlagsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint BindingFlagsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint BindingFlagsPropertyInfo :: * -> Constraint

type AttrGetType BindingFlagsPropertyInfo :: *

type AttrLabel BindingFlagsPropertyInfo :: Symbol

Methods

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

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

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

attrConstruct :: AttrSetTypeConstraint BindingFlagsPropertyInfo b => Proxy * BindingFlagsPropertyInfo -> b -> IO (String, GValue)

type AttrSetTypeConstraint BindingFlagsPropertyInfo Source # 
type AttrSetTypeConstraint BindingFlagsPropertyInfo = * ~ [BindingFlags]
type AttrLabel BindingFlagsPropertyInfo Source # 
type AttrLabel BindingFlagsPropertyInfo = "flags"
type AttrGetType BindingFlagsPropertyInfo Source # 
type AttrBaseTypeConstraint BindingFlagsPropertyInfo Source # 
type AttrBaseTypeConstraint BindingFlagsPropertyInfo = BindingK
type AttrAllowedOps BindingFlagsPropertyInfo Source # 
type AttrAllowedOps BindingFlagsPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

bindingFlags :: AttrLabelProxy "flags" Source #

constructBindingFlags :: [BindingFlags] -> IO ([Char], GValue) Source #

getBindingFlags :: (MonadIO m, BindingK o) => o -> m [BindingFlags] Source #

Source

data BindingSourcePropertyInfo Source #

Instances

AttrInfo BindingSourcePropertyInfo Source # 

Associated Types

type AttrAllowedOps BindingSourcePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint BindingSourcePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint BindingSourcePropertyInfo :: * -> Constraint

type AttrGetType BindingSourcePropertyInfo :: *

type AttrLabel BindingSourcePropertyInfo :: Symbol

Methods

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

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

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

attrConstruct :: AttrSetTypeConstraint BindingSourcePropertyInfo b => Proxy * BindingSourcePropertyInfo -> b -> IO (String, GValue)

type AttrSetTypeConstraint BindingSourcePropertyInfo Source # 
type AttrSetTypeConstraint BindingSourcePropertyInfo = ObjectK
type AttrLabel BindingSourcePropertyInfo Source # 
type AttrLabel BindingSourcePropertyInfo = "source"
type AttrGetType BindingSourcePropertyInfo Source # 
type AttrBaseTypeConstraint BindingSourcePropertyInfo Source # 
type AttrBaseTypeConstraint BindingSourcePropertyInfo = BindingK
type AttrAllowedOps BindingSourcePropertyInfo Source # 
type AttrAllowedOps BindingSourcePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

bindingSource :: AttrLabelProxy "source" Source #

constructBindingSource :: ObjectK a => a -> IO ([Char], GValue) Source #

getBindingSource :: (MonadIO m, BindingK o) => o -> m Object Source #

SourceProperty

data BindingSourcePropertyPropertyInfo Source #

Instances

AttrInfo BindingSourcePropertyPropertyInfo Source # 

Associated Types

type AttrAllowedOps BindingSourcePropertyPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint BindingSourcePropertyPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint BindingSourcePropertyPropertyInfo :: * -> Constraint

type AttrGetType BindingSourcePropertyPropertyInfo :: *

type AttrLabel BindingSourcePropertyPropertyInfo :: Symbol

Methods

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

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

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

attrConstruct :: AttrSetTypeConstraint BindingSourcePropertyPropertyInfo b => Proxy * BindingSourcePropertyPropertyInfo -> b -> IO (String, GValue)

type AttrSetTypeConstraint BindingSourcePropertyPropertyInfo Source # 
type AttrSetTypeConstraint BindingSourcePropertyPropertyInfo = * ~ Text
type AttrLabel BindingSourcePropertyPropertyInfo Source # 
type AttrLabel BindingSourcePropertyPropertyInfo = "source-property"
type AttrGetType BindingSourcePropertyPropertyInfo Source # 
type AttrGetType BindingSourcePropertyPropertyInfo = Text
type AttrBaseTypeConstraint BindingSourcePropertyPropertyInfo Source # 
type AttrBaseTypeConstraint BindingSourcePropertyPropertyInfo = BindingK
type AttrAllowedOps BindingSourcePropertyPropertyInfo Source # 
type AttrAllowedOps BindingSourcePropertyPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

bindingSourceProperty :: AttrLabelProxy "sourceProperty" Source #

constructBindingSourceProperty :: Text -> IO ([Char], GValue) Source #

getBindingSourceProperty :: (MonadIO m, BindingK o) => o -> m Text Source #

Target

data BindingTargetPropertyInfo Source #

Instances

AttrInfo BindingTargetPropertyInfo Source # 

Associated Types

type AttrAllowedOps BindingTargetPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint BindingTargetPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint BindingTargetPropertyInfo :: * -> Constraint

type AttrGetType BindingTargetPropertyInfo :: *

type AttrLabel BindingTargetPropertyInfo :: Symbol

Methods

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

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

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

attrConstruct :: AttrSetTypeConstraint BindingTargetPropertyInfo b => Proxy * BindingTargetPropertyInfo -> b -> IO (String, GValue)

type AttrSetTypeConstraint BindingTargetPropertyInfo Source # 
type AttrSetTypeConstraint BindingTargetPropertyInfo = ObjectK
type AttrLabel BindingTargetPropertyInfo Source # 
type AttrLabel BindingTargetPropertyInfo = "target"
type AttrGetType BindingTargetPropertyInfo Source # 
type AttrBaseTypeConstraint BindingTargetPropertyInfo Source # 
type AttrBaseTypeConstraint BindingTargetPropertyInfo = BindingK
type AttrAllowedOps BindingTargetPropertyInfo Source # 
type AttrAllowedOps BindingTargetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

bindingTarget :: AttrLabelProxy "target" Source #

constructBindingTarget :: ObjectK a => a -> IO ([Char], GValue) Source #

getBindingTarget :: (MonadIO m, BindingK o) => o -> m Object Source #

TargetProperty

data BindingTargetPropertyPropertyInfo Source #

Instances

AttrInfo BindingTargetPropertyPropertyInfo Source # 

Associated Types

type AttrAllowedOps BindingTargetPropertyPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint BindingTargetPropertyPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint BindingTargetPropertyPropertyInfo :: * -> Constraint

type AttrGetType BindingTargetPropertyPropertyInfo :: *

type AttrLabel BindingTargetPropertyPropertyInfo :: Symbol

Methods

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

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

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

attrConstruct :: AttrSetTypeConstraint BindingTargetPropertyPropertyInfo b => Proxy * BindingTargetPropertyPropertyInfo -> b -> IO (String, GValue)

type AttrSetTypeConstraint BindingTargetPropertyPropertyInfo Source # 
type AttrSetTypeConstraint BindingTargetPropertyPropertyInfo = * ~ Text
type AttrLabel BindingTargetPropertyPropertyInfo Source # 
type AttrLabel BindingTargetPropertyPropertyInfo = "target-property"
type AttrGetType BindingTargetPropertyPropertyInfo Source # 
type AttrGetType BindingTargetPropertyPropertyInfo = Text
type AttrBaseTypeConstraint BindingTargetPropertyPropertyInfo Source # 
type AttrBaseTypeConstraint BindingTargetPropertyPropertyInfo = BindingK
type AttrAllowedOps BindingTargetPropertyPropertyInfo Source # 
type AttrAllowedOps BindingTargetPropertyPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

bindingTargetProperty :: AttrLabelProxy "targetProperty" Source #

constructBindingTargetProperty :: Text -> IO ([Char], GValue) Source #

getBindingTargetProperty :: (MonadIO m, BindingK o) => o -> m Text Source #