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 Scrollable = Scrollable (ForeignPtr Scrollable)
- noScrollable :: Maybe Scrollable
- class GObject o => ScrollableK o
- toScrollable :: ScrollableK o => o -> IO Scrollable
- scrollableGetBorder :: (MonadIO m, ScrollableK a) => a -> Border -> m Bool
- scrollableGetHadjustment :: (MonadIO m, ScrollableK a) => a -> m Adjustment
- scrollableGetHscrollPolicy :: (MonadIO m, ScrollableK a) => a -> m ScrollablePolicy
- scrollableGetVadjustment :: (MonadIO m, ScrollableK a) => a -> m Adjustment
- scrollableGetVscrollPolicy :: (MonadIO m, ScrollableK a) => a -> m ScrollablePolicy
- scrollableSetHadjustment :: (MonadIO m, ScrollableK a, AdjustmentK b) => a -> Maybe b -> m ()
- scrollableSetHscrollPolicy :: (MonadIO m, ScrollableK a) => a -> ScrollablePolicy -> m ()
- scrollableSetVadjustment :: (MonadIO m, ScrollableK a, AdjustmentK b) => a -> Maybe b -> m ()
- scrollableSetVscrollPolicy :: (MonadIO m, ScrollableK a) => a -> ScrollablePolicy -> m ()
- data ScrollableHadjustmentPropertyInfo
- constructScrollableHadjustment :: AdjustmentK a => a -> IO ([Char], GValue)
- getScrollableHadjustment :: (MonadIO m, ScrollableK o) => o -> m Adjustment
- setScrollableHadjustment :: (MonadIO m, ScrollableK o, AdjustmentK a) => o -> a -> m ()
- data ScrollableHscrollPolicyPropertyInfo
- constructScrollableHscrollPolicy :: ScrollablePolicy -> IO ([Char], GValue)
- getScrollableHscrollPolicy :: (MonadIO m, ScrollableK o) => o -> m ScrollablePolicy
- setScrollableHscrollPolicy :: (MonadIO m, ScrollableK o) => o -> ScrollablePolicy -> m ()
- data ScrollableVadjustmentPropertyInfo
- constructScrollableVadjustment :: AdjustmentK a => a -> IO ([Char], GValue)
- getScrollableVadjustment :: (MonadIO m, ScrollableK o) => o -> m Adjustment
- setScrollableVadjustment :: (MonadIO m, ScrollableK o, AdjustmentK a) => o -> a -> m ()
- data ScrollableVscrollPolicyPropertyInfo
- constructScrollableVscrollPolicy :: ScrollablePolicy -> IO ([Char], GValue)
- getScrollableVscrollPolicy :: (MonadIO m, ScrollableK o) => o -> m ScrollablePolicy
- setScrollableVscrollPolicy :: (MonadIO m, ScrollableK o) => o -> ScrollablePolicy -> m ()
Exported types
newtype Scrollable Source
class GObject o => ScrollableK o Source
(GObject o, IsDescendantOf Scrollable o) => ScrollableK o Source |
toScrollable :: ScrollableK o => o -> IO Scrollable Source
Methods
scrollableGetBorder
scrollableGetBorder :: (MonadIO m, ScrollableK a) => a -> Border -> m Bool Source
scrollableGetHadjustment
scrollableGetHadjustment :: (MonadIO m, ScrollableK a) => a -> m Adjustment Source
scrollableGetHscrollPolicy
scrollableGetHscrollPolicy :: (MonadIO m, ScrollableK a) => a -> m ScrollablePolicy Source
scrollableGetVadjustment
scrollableGetVadjustment :: (MonadIO m, ScrollableK a) => a -> m Adjustment Source
scrollableGetVscrollPolicy
scrollableGetVscrollPolicy :: (MonadIO m, ScrollableK a) => a -> m ScrollablePolicy Source
scrollableSetHadjustment
scrollableSetHadjustment :: (MonadIO m, ScrollableK a, AdjustmentK b) => a -> Maybe b -> m () Source
scrollableSetHscrollPolicy
scrollableSetHscrollPolicy :: (MonadIO m, ScrollableK a) => a -> ScrollablePolicy -> m () Source
scrollableSetVadjustment
scrollableSetVadjustment :: (MonadIO m, ScrollableK a, AdjustmentK b) => a -> Maybe b -> m () Source
scrollableSetVscrollPolicy
scrollableSetVscrollPolicy :: (MonadIO m, ScrollableK a) => a -> ScrollablePolicy -> m () Source
Properties
Hadjustment
data ScrollableHadjustmentPropertyInfo Source
AttrInfo ScrollableHadjustmentPropertyInfo Source | |
type AttrLabel ScrollableHadjustmentPropertyInfo = "Scrollable::hadjustment" Source | |
type AttrGetType ScrollableHadjustmentPropertyInfo = Adjustment Source | |
type AttrBaseTypeConstraint ScrollableHadjustmentPropertyInfo = ScrollableK Source | |
type AttrSetTypeConstraint ScrollableHadjustmentPropertyInfo = AdjustmentK Source | |
type AttrAllowedOps ScrollableHadjustmentPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructScrollableHadjustment :: AdjustmentK a => a -> IO ([Char], GValue) Source
getScrollableHadjustment :: (MonadIO m, ScrollableK o) => o -> m Adjustment Source
setScrollableHadjustment :: (MonadIO m, ScrollableK o, AdjustmentK a) => o -> a -> m () Source
HscrollPolicy
data ScrollableHscrollPolicyPropertyInfo Source
AttrInfo ScrollableHscrollPolicyPropertyInfo Source | |
type AttrLabel ScrollableHscrollPolicyPropertyInfo = "Scrollable::hscroll-policy" Source | |
type AttrGetType ScrollableHscrollPolicyPropertyInfo = ScrollablePolicy Source | |
type AttrBaseTypeConstraint ScrollableHscrollPolicyPropertyInfo = ScrollableK Source | |
type AttrSetTypeConstraint ScrollableHscrollPolicyPropertyInfo = * ~ ScrollablePolicy Source | |
type AttrAllowedOps ScrollableHscrollPolicyPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getScrollableHscrollPolicy :: (MonadIO m, ScrollableK o) => o -> m ScrollablePolicy Source
setScrollableHscrollPolicy :: (MonadIO m, ScrollableK o) => o -> ScrollablePolicy -> m () Source
Vadjustment
data ScrollableVadjustmentPropertyInfo Source
AttrInfo ScrollableVadjustmentPropertyInfo Source | |
type AttrLabel ScrollableVadjustmentPropertyInfo = "Scrollable::vadjustment" Source | |
type AttrGetType ScrollableVadjustmentPropertyInfo = Adjustment Source | |
type AttrBaseTypeConstraint ScrollableVadjustmentPropertyInfo = ScrollableK Source | |
type AttrSetTypeConstraint ScrollableVadjustmentPropertyInfo = AdjustmentK Source | |
type AttrAllowedOps ScrollableVadjustmentPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructScrollableVadjustment :: AdjustmentK a => a -> IO ([Char], GValue) Source
getScrollableVadjustment :: (MonadIO m, ScrollableK o) => o -> m Adjustment Source
setScrollableVadjustment :: (MonadIO m, ScrollableK o, AdjustmentK a) => o -> a -> m () Source
VscrollPolicy
data ScrollableVscrollPolicyPropertyInfo Source
AttrInfo ScrollableVscrollPolicyPropertyInfo Source | |
type AttrLabel ScrollableVscrollPolicyPropertyInfo = "Scrollable::vscroll-policy" Source | |
type AttrGetType ScrollableVscrollPolicyPropertyInfo = ScrollablePolicy Source | |
type AttrBaseTypeConstraint ScrollableVscrollPolicyPropertyInfo = ScrollableK Source | |
type AttrSetTypeConstraint ScrollableVscrollPolicyPropertyInfo = * ~ ScrollablePolicy Source | |
type AttrAllowedOps ScrollableVscrollPolicyPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getScrollableVscrollPolicy :: (MonadIO m, ScrollableK o) => o -> m ScrollablePolicy Source
setScrollableVscrollPolicy :: (MonadIO m, ScrollableK o) => o -> ScrollablePolicy -> m () Source