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 Toolbar = Toolbar (ForeignPtr Toolbar)
- class GObject o => ToolbarK o
- toToolbar :: ToolbarK o => o -> IO Toolbar
- noToolbar :: Maybe Toolbar
- toolbarGetDropIndex :: (MonadIO m, ToolbarK a) => a -> Int32 -> Int32 -> m Int32
- toolbarGetIconSize :: (MonadIO m, ToolbarK a) => a -> m IconSize
- toolbarGetItemIndex :: (MonadIO m, ToolbarK a, ToolItemK b) => a -> b -> m Int32
- toolbarGetNItems :: (MonadIO m, ToolbarK a) => a -> m Int32
- toolbarGetNthItem :: (MonadIO m, ToolbarK a) => a -> Int32 -> m ToolItem
- toolbarGetReliefStyle :: (MonadIO m, ToolbarK a) => a -> m ReliefStyle
- toolbarGetShowArrow :: (MonadIO m, ToolbarK a) => a -> m Bool
- toolbarGetStyle :: (MonadIO m, ToolbarK a) => a -> m ToolbarStyle
- toolbarInsert :: (MonadIO m, ToolbarK a, ToolItemK b) => a -> b -> Int32 -> m ()
- toolbarNew :: MonadIO m => m Toolbar
- toolbarSetDropHighlightItem :: (MonadIO m, ToolbarK a, ToolItemK b) => a -> Maybe b -> Int32 -> m ()
- toolbarSetIconSize :: (MonadIO m, ToolbarK a) => a -> IconSize -> m ()
- toolbarSetShowArrow :: (MonadIO m, ToolbarK a) => a -> Bool -> m ()
- toolbarSetStyle :: (MonadIO m, ToolbarK a) => a -> ToolbarStyle -> m ()
- toolbarUnsetIconSize :: (MonadIO m, ToolbarK a) => a -> m ()
- toolbarUnsetStyle :: (MonadIO m, ToolbarK a) => a -> m ()
- data ToolbarIconSizePropertyInfo
- constructToolbarIconSize :: IconSize -> IO ([Char], GValue)
- getToolbarIconSize :: (MonadIO m, ToolbarK o) => o -> m IconSize
- setToolbarIconSize :: (MonadIO m, ToolbarK o) => o -> IconSize -> m ()
- data ToolbarIconSizeSetPropertyInfo
- constructToolbarIconSizeSet :: Bool -> IO ([Char], GValue)
- getToolbarIconSizeSet :: (MonadIO m, ToolbarK o) => o -> m Bool
- setToolbarIconSizeSet :: (MonadIO m, ToolbarK o) => o -> Bool -> m ()
- data ToolbarShowArrowPropertyInfo
- constructToolbarShowArrow :: Bool -> IO ([Char], GValue)
- getToolbarShowArrow :: (MonadIO m, ToolbarK o) => o -> m Bool
- setToolbarShowArrow :: (MonadIO m, ToolbarK o) => o -> Bool -> m ()
- data ToolbarToolbarStylePropertyInfo
- constructToolbarToolbarStyle :: ToolbarStyle -> IO ([Char], GValue)
- getToolbarToolbarStyle :: (MonadIO m, ToolbarK o) => o -> m ToolbarStyle
- setToolbarToolbarStyle :: (MonadIO m, ToolbarK o) => o -> ToolbarStyle -> m ()
- type ToolbarFocusHomeOrEndCallback = Bool -> IO Bool
- type ToolbarFocusHomeOrEndCallbackC = Ptr () -> CInt -> Ptr () -> IO CInt
- data ToolbarFocusHomeOrEndSignalInfo
- afterToolbarFocusHomeOrEnd :: (GObject a, MonadIO m) => a -> ToolbarFocusHomeOrEndCallback -> m SignalHandlerId
- mkToolbarFocusHomeOrEndCallback :: ToolbarFocusHomeOrEndCallbackC -> IO (FunPtr ToolbarFocusHomeOrEndCallbackC)
- noToolbarFocusHomeOrEndCallback :: Maybe ToolbarFocusHomeOrEndCallback
- onToolbarFocusHomeOrEnd :: (GObject a, MonadIO m) => a -> ToolbarFocusHomeOrEndCallback -> m SignalHandlerId
- toolbarFocusHomeOrEndCallbackWrapper :: ToolbarFocusHomeOrEndCallback -> Ptr () -> CInt -> Ptr () -> IO CInt
- toolbarFocusHomeOrEndClosure :: ToolbarFocusHomeOrEndCallback -> IO Closure
- type ToolbarOrientationChangedCallback = Orientation -> IO ()
- type ToolbarOrientationChangedCallbackC = Ptr () -> CUInt -> Ptr () -> IO ()
- data ToolbarOrientationChangedSignalInfo
- afterToolbarOrientationChanged :: (GObject a, MonadIO m) => a -> ToolbarOrientationChangedCallback -> m SignalHandlerId
- mkToolbarOrientationChangedCallback :: ToolbarOrientationChangedCallbackC -> IO (FunPtr ToolbarOrientationChangedCallbackC)
- noToolbarOrientationChangedCallback :: Maybe ToolbarOrientationChangedCallback
- onToolbarOrientationChanged :: (GObject a, MonadIO m) => a -> ToolbarOrientationChangedCallback -> m SignalHandlerId
- toolbarOrientationChangedCallbackWrapper :: ToolbarOrientationChangedCallback -> Ptr () -> CUInt -> Ptr () -> IO ()
- toolbarOrientationChangedClosure :: ToolbarOrientationChangedCallback -> IO Closure
- type ToolbarPopupContextMenuCallback = Int32 -> Int32 -> Int32 -> IO Bool
- type ToolbarPopupContextMenuCallbackC = Ptr () -> Int32 -> Int32 -> Int32 -> Ptr () -> IO CInt
- data ToolbarPopupContextMenuSignalInfo
- afterToolbarPopupContextMenu :: (GObject a, MonadIO m) => a -> ToolbarPopupContextMenuCallback -> m SignalHandlerId
- mkToolbarPopupContextMenuCallback :: ToolbarPopupContextMenuCallbackC -> IO (FunPtr ToolbarPopupContextMenuCallbackC)
- noToolbarPopupContextMenuCallback :: Maybe ToolbarPopupContextMenuCallback
- onToolbarPopupContextMenu :: (GObject a, MonadIO m) => a -> ToolbarPopupContextMenuCallback -> m SignalHandlerId
- toolbarPopupContextMenuCallbackWrapper :: ToolbarPopupContextMenuCallback -> Ptr () -> Int32 -> Int32 -> Int32 -> Ptr () -> IO CInt
- toolbarPopupContextMenuClosure :: ToolbarPopupContextMenuCallback -> IO Closure
- type ToolbarStyleChangedCallback = ToolbarStyle -> IO ()
- type ToolbarStyleChangedCallbackC = Ptr () -> CUInt -> Ptr () -> IO ()
- data ToolbarStyleChangedSignalInfo
- afterToolbarStyleChanged :: (GObject a, MonadIO m) => a -> ToolbarStyleChangedCallback -> m SignalHandlerId
- mkToolbarStyleChangedCallback :: ToolbarStyleChangedCallbackC -> IO (FunPtr ToolbarStyleChangedCallbackC)
- noToolbarStyleChangedCallback :: Maybe ToolbarStyleChangedCallback
- onToolbarStyleChanged :: (GObject a, MonadIO m) => a -> ToolbarStyleChangedCallback -> m SignalHandlerId
- toolbarStyleChangedCallbackWrapper :: ToolbarStyleChangedCallback -> Ptr () -> CUInt -> Ptr () -> IO ()
- toolbarStyleChangedClosure :: ToolbarStyleChangedCallback -> IO Closure
Exported types
GObject Toolbar Source | |
type ParentTypes Toolbar Source | |
type AttributeList Toolbar Source | |
type SignalList Toolbar Source |
Methods
toolbarGetDropIndex
toolbarGetIconSize
toolbarGetIconSize :: (MonadIO m, ToolbarK a) => a -> m IconSize Source
toolbarGetItemIndex
toolbarGetNItems
toolbarGetNItems :: (MonadIO m, ToolbarK a) => a -> m Int32 Source
toolbarGetNthItem
toolbarGetReliefStyle
toolbarGetReliefStyle :: (MonadIO m, ToolbarK a) => a -> m ReliefStyle Source
toolbarGetShowArrow
toolbarGetShowArrow :: (MonadIO m, ToolbarK a) => a -> m Bool Source
toolbarGetStyle
toolbarGetStyle :: (MonadIO m, ToolbarK a) => a -> m ToolbarStyle Source
toolbarInsert
toolbarNew
toolbarNew :: MonadIO m => m Toolbar Source
toolbarSetDropHighlightItem
toolbarSetDropHighlightItem :: (MonadIO m, ToolbarK a, ToolItemK b) => a -> Maybe b -> Int32 -> m () Source
toolbarSetIconSize
toolbarSetIconSize :: (MonadIO m, ToolbarK a) => a -> IconSize -> m () Source
toolbarSetShowArrow
toolbarSetShowArrow :: (MonadIO m, ToolbarK a) => a -> Bool -> m () Source
toolbarSetStyle
toolbarSetStyle :: (MonadIO m, ToolbarK a) => a -> ToolbarStyle -> m () Source
toolbarUnsetIconSize
toolbarUnsetIconSize :: (MonadIO m, ToolbarK a) => a -> m () Source
toolbarUnsetStyle
toolbarUnsetStyle :: (MonadIO m, ToolbarK a) => a -> m () Source
Properties
IconSize
data ToolbarIconSizePropertyInfo Source
AttrInfo ToolbarIconSizePropertyInfo Source | |
type AttrLabel ToolbarIconSizePropertyInfo = "Toolbar::icon-size" Source | |
type AttrGetType ToolbarIconSizePropertyInfo = IconSize Source | |
type AttrBaseTypeConstraint ToolbarIconSizePropertyInfo = ToolbarK Source | |
type AttrSetTypeConstraint ToolbarIconSizePropertyInfo = * ~ IconSize Source | |
type AttrAllowedOps ToolbarIconSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getToolbarIconSize :: (MonadIO m, ToolbarK o) => o -> m IconSize Source
setToolbarIconSize :: (MonadIO m, ToolbarK o) => o -> IconSize -> m () Source
IconSizeSet
data ToolbarIconSizeSetPropertyInfo Source
AttrInfo ToolbarIconSizeSetPropertyInfo Source | |
type AttrLabel ToolbarIconSizeSetPropertyInfo = "Toolbar::icon-size-set" Source | |
type AttrGetType ToolbarIconSizeSetPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint ToolbarIconSizeSetPropertyInfo = ToolbarK Source | |
type AttrSetTypeConstraint ToolbarIconSizeSetPropertyInfo = * ~ Bool Source | |
type AttrAllowedOps ToolbarIconSizeSetPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getToolbarIconSizeSet :: (MonadIO m, ToolbarK o) => o -> m Bool Source
setToolbarIconSizeSet :: (MonadIO m, ToolbarK o) => o -> Bool -> m () Source
ShowArrow
data ToolbarShowArrowPropertyInfo Source
AttrInfo ToolbarShowArrowPropertyInfo Source | |
type AttrLabel ToolbarShowArrowPropertyInfo = "Toolbar::show-arrow" Source | |
type AttrGetType ToolbarShowArrowPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint ToolbarShowArrowPropertyInfo = ToolbarK Source | |
type AttrSetTypeConstraint ToolbarShowArrowPropertyInfo = * ~ Bool Source | |
type AttrAllowedOps ToolbarShowArrowPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getToolbarShowArrow :: (MonadIO m, ToolbarK o) => o -> m Bool Source
setToolbarShowArrow :: (MonadIO m, ToolbarK o) => o -> Bool -> m () Source
ToolbarStyle
data ToolbarToolbarStylePropertyInfo Source
AttrInfo ToolbarToolbarStylePropertyInfo Source | |
type AttrLabel ToolbarToolbarStylePropertyInfo = "Toolbar::toolbar-style" Source | |
type AttrGetType ToolbarToolbarStylePropertyInfo = ToolbarStyle Source | |
type AttrBaseTypeConstraint ToolbarToolbarStylePropertyInfo = ToolbarK Source | |
type AttrSetTypeConstraint ToolbarToolbarStylePropertyInfo = * ~ ToolbarStyle Source | |
type AttrAllowedOps ToolbarToolbarStylePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructToolbarToolbarStyle :: ToolbarStyle -> IO ([Char], GValue) Source
getToolbarToolbarStyle :: (MonadIO m, ToolbarK o) => o -> m ToolbarStyle Source
setToolbarToolbarStyle :: (MonadIO m, ToolbarK o) => o -> ToolbarStyle -> m () Source
Signals
FocusHomeOrEnd
type ToolbarFocusHomeOrEndCallback = Bool -> IO Bool Source
afterToolbarFocusHomeOrEnd :: (GObject a, MonadIO m) => a -> ToolbarFocusHomeOrEndCallback -> m SignalHandlerId Source
mkToolbarFocusHomeOrEndCallback :: ToolbarFocusHomeOrEndCallbackC -> IO (FunPtr ToolbarFocusHomeOrEndCallbackC) Source
onToolbarFocusHomeOrEnd :: (GObject a, MonadIO m) => a -> ToolbarFocusHomeOrEndCallback -> m SignalHandlerId Source
toolbarFocusHomeOrEndCallbackWrapper :: ToolbarFocusHomeOrEndCallback -> Ptr () -> CInt -> Ptr () -> IO CInt Source
OrientationChanged
type ToolbarOrientationChangedCallback = Orientation -> IO () Source
afterToolbarOrientationChanged :: (GObject a, MonadIO m) => a -> ToolbarOrientationChangedCallback -> m SignalHandlerId Source
mkToolbarOrientationChangedCallback :: ToolbarOrientationChangedCallbackC -> IO (FunPtr ToolbarOrientationChangedCallbackC) Source
onToolbarOrientationChanged :: (GObject a, MonadIO m) => a -> ToolbarOrientationChangedCallback -> m SignalHandlerId Source
toolbarOrientationChangedCallbackWrapper :: ToolbarOrientationChangedCallback -> Ptr () -> CUInt -> Ptr () -> IO () Source
PopupContextMenu
type ToolbarPopupContextMenuCallbackC = Ptr () -> Int32 -> Int32 -> Int32 -> Ptr () -> IO CInt Source
afterToolbarPopupContextMenu :: (GObject a, MonadIO m) => a -> ToolbarPopupContextMenuCallback -> m SignalHandlerId Source
mkToolbarPopupContextMenuCallback :: ToolbarPopupContextMenuCallbackC -> IO (FunPtr ToolbarPopupContextMenuCallbackC) Source
onToolbarPopupContextMenu :: (GObject a, MonadIO m) => a -> ToolbarPopupContextMenuCallback -> m SignalHandlerId Source
toolbarPopupContextMenuCallbackWrapper :: ToolbarPopupContextMenuCallback -> Ptr () -> Int32 -> Int32 -> Int32 -> Ptr () -> IO CInt Source
StyleChanged
type ToolbarStyleChangedCallback = ToolbarStyle -> IO () Source
afterToolbarStyleChanged :: (GObject a, MonadIO m) => a -> ToolbarStyleChangedCallback -> m SignalHandlerId Source
mkToolbarStyleChangedCallback :: ToolbarStyleChangedCallbackC -> IO (FunPtr ToolbarStyleChangedCallbackC) Source
onToolbarStyleChanged :: (GObject a, MonadIO m) => a -> ToolbarStyleChangedCallback -> m SignalHandlerId Source
toolbarStyleChangedCallbackWrapper :: ToolbarStyleChangedCallback -> Ptr () -> CUInt -> Ptr () -> IO () Source