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 Binding = Binding (ForeignPtr Binding)
- class GObject o => BindingK o
- toBinding :: BindingK o => o -> IO Binding
- noBinding :: Maybe Binding
- data BindingGetFlagsMethodInfo
- bindingGetFlags :: (MonadIO m, BindingK a) => a -> m [BindingFlags]
- data BindingGetSourceMethodInfo
- bindingGetSource :: (MonadIO m, BindingK a) => a -> m Object
- data BindingGetSourcePropertyMethodInfo
- bindingGetSourceProperty :: (MonadIO m, BindingK a) => a -> m Text
- data BindingGetTargetMethodInfo
- bindingGetTarget :: (MonadIO m, BindingK a) => a -> m Object
- data BindingGetTargetPropertyMethodInfo
- bindingGetTargetProperty :: (MonadIO m, BindingK a) => a -> m Text
- data BindingUnbindMethodInfo
- bindingUnbind :: (MonadIO m, BindingK a) => a -> m ()
- data BindingFlagsPropertyInfo
- bindingFlags :: AttrLabelProxy "flags"
- constructBindingFlags :: [BindingFlags] -> IO ([Char], GValue)
- getBindingFlags :: (MonadIO m, BindingK o) => o -> m [BindingFlags]
- data BindingSourcePropertyInfo
- bindingSource :: AttrLabelProxy "source"
- constructBindingSource :: ObjectK a => a -> IO ([Char], GValue)
- getBindingSource :: (MonadIO m, BindingK o) => o -> m Object
- data BindingSourcePropertyPropertyInfo
- bindingSourceProperty :: AttrLabelProxy "sourceProperty"
- constructBindingSourceProperty :: Text -> IO ([Char], GValue)
- getBindingSourceProperty :: (MonadIO m, BindingK o) => o -> m Text
- data BindingTargetPropertyInfo
- bindingTarget :: AttrLabelProxy "target"
- constructBindingTarget :: ObjectK a => a -> IO ([Char], GValue)
- getBindingTarget :: (MonadIO m, BindingK o) => o -> m Object
- data BindingTargetPropertyPropertyInfo
- bindingTargetProperty :: AttrLabelProxy "targetProperty"
- constructBindingTargetProperty :: Text -> IO ([Char], GValue)
- getBindingTargetProperty :: (MonadIO m, BindingK o) => o -> m Text
Exported types
GObject Binding | |
((~) * info (ResolveBindingMethod t Binding), MethodInfo * info Binding p) => IsLabelProxy t (Binding -> p) | |
type ParentTypes Binding | |
type AttributeList Binding | |
type SignalList Binding |
Methods
bindingGetFlags
data BindingGetFlagsMethodInfo Source
((~) * signature (m [BindingFlags]), MonadIO m, BindingK a) => MethodInfo * BindingGetFlagsMethodInfo a signature |
bindingGetFlags :: (MonadIO m, BindingK a) => a -> m [BindingFlags] Source
bindingGetSource
data BindingGetSourceMethodInfo Source
((~) * signature (m Object), MonadIO m, BindingK a) => MethodInfo * BindingGetSourceMethodInfo a signature |
bindingGetSource :: (MonadIO m, BindingK a) => a -> m Object Source
bindingGetSourceProperty
data BindingGetSourcePropertyMethodInfo Source
((~) * signature (m Text), MonadIO m, BindingK a) => MethodInfo * BindingGetSourcePropertyMethodInfo a signature |
bindingGetSourceProperty :: (MonadIO m, BindingK a) => a -> m Text Source
bindingGetTarget
data BindingGetTargetMethodInfo Source
((~) * signature (m Object), MonadIO m, BindingK a) => MethodInfo * BindingGetTargetMethodInfo a signature |
bindingGetTarget :: (MonadIO m, BindingK a) => a -> m Object Source
bindingGetTargetProperty
data BindingGetTargetPropertyMethodInfo Source
((~) * signature (m Text), MonadIO m, BindingK a) => MethodInfo * BindingGetTargetPropertyMethodInfo a signature |
bindingGetTargetProperty :: (MonadIO m, BindingK a) => a -> m Text Source
bindingUnbind
data BindingUnbindMethodInfo Source
((~) * signature (m ()), MonadIO m, BindingK a) => MethodInfo * BindingUnbindMethodInfo a signature |
bindingUnbind :: (MonadIO m, BindingK a) => a -> m () Source
Properties
Flags
data BindingFlagsPropertyInfo Source
AttrInfo BindingFlagsPropertyInfo | |
type AttrLabel BindingFlagsPropertyInfo = "flags" | |
type AttrGetType BindingFlagsPropertyInfo = [BindingFlags] | |
type AttrBaseTypeConstraint BindingFlagsPropertyInfo = BindingK | |
type AttrSetTypeConstraint BindingFlagsPropertyInfo = * ~ [BindingFlags] | |
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
AttrInfo BindingSourcePropertyInfo | |
type AttrLabel BindingSourcePropertyInfo = "source" | |
type AttrGetType BindingSourcePropertyInfo = Object | |
type AttrBaseTypeConstraint BindingSourcePropertyInfo = BindingK | |
type AttrSetTypeConstraint BindingSourcePropertyInfo = ObjectK | |
type AttrAllowedOps BindingSourcePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
bindingSource :: AttrLabelProxy "source" Source
getBindingSource :: (MonadIO m, BindingK o) => o -> m Object Source
SourceProperty
data BindingSourcePropertyPropertyInfo Source
AttrInfo BindingSourcePropertyPropertyInfo | |
type AttrLabel BindingSourcePropertyPropertyInfo = "source-property" | |
type AttrGetType BindingSourcePropertyPropertyInfo = Text | |
type AttrBaseTypeConstraint BindingSourcePropertyPropertyInfo = BindingK | |
type AttrSetTypeConstraint BindingSourcePropertyPropertyInfo = * ~ Text | |
type AttrAllowedOps BindingSourcePropertyPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
bindingSourceProperty :: AttrLabelProxy "sourceProperty" Source
getBindingSourceProperty :: (MonadIO m, BindingK o) => o -> m Text Source
Target
data BindingTargetPropertyInfo Source
AttrInfo BindingTargetPropertyInfo | |
type AttrLabel BindingTargetPropertyInfo = "target" | |
type AttrGetType BindingTargetPropertyInfo = Object | |
type AttrBaseTypeConstraint BindingTargetPropertyInfo = BindingK | |
type AttrSetTypeConstraint BindingTargetPropertyInfo = ObjectK | |
type AttrAllowedOps BindingTargetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
bindingTarget :: AttrLabelProxy "target" Source
getBindingTarget :: (MonadIO m, BindingK o) => o -> m Object Source
TargetProperty
data BindingTargetPropertyPropertyInfo Source
AttrInfo BindingTargetPropertyPropertyInfo | |
type AttrLabel BindingTargetPropertyPropertyInfo = "target-property" | |
type AttrGetType BindingTargetPropertyPropertyInfo = Text | |
type AttrBaseTypeConstraint BindingTargetPropertyPropertyInfo = BindingK | |
type AttrSetTypeConstraint BindingTargetPropertyPropertyInfo = * ~ Text | |
type AttrAllowedOps BindingTargetPropertyPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
bindingTargetProperty :: AttrLabelProxy "targetProperty" Source
getBindingTargetProperty :: (MonadIO m, BindingK o) => o -> m Text Source