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 GesturePan = GesturePan (ForeignPtr GesturePan)
- class GObject o => GesturePanK o
- toGesturePan :: GesturePanK o => o -> IO GesturePan
- noGesturePan :: Maybe GesturePan
- gesturePanGetOrientation :: (MonadIO m, GesturePanK a) => a -> m Orientation
- gesturePanNew :: (MonadIO m, WidgetK a) => a -> Orientation -> m GesturePan
- gesturePanSetOrientation :: (MonadIO m, GesturePanK a) => a -> Orientation -> m ()
- data GesturePanOrientationPropertyInfo
- constructGesturePanOrientation :: Orientation -> IO ([Char], GValue)
- getGesturePanOrientation :: (MonadIO m, GesturePanK o) => o -> m Orientation
- setGesturePanOrientation :: (MonadIO m, GesturePanK o) => o -> Orientation -> m ()
- type GesturePanPanCallback = PanDirection -> Double -> IO ()
- type GesturePanPanCallbackC = Ptr () -> CUInt -> CDouble -> Ptr () -> IO ()
- data GesturePanPanSignalInfo
- afterGesturePanPan :: (GObject a, MonadIO m) => a -> GesturePanPanCallback -> m SignalHandlerId
- gesturePanPanCallbackWrapper :: GesturePanPanCallback -> Ptr () -> CUInt -> CDouble -> Ptr () -> IO ()
- gesturePanPanClosure :: GesturePanPanCallback -> IO Closure
- mkGesturePanPanCallback :: GesturePanPanCallbackC -> IO (FunPtr GesturePanPanCallbackC)
- noGesturePanPanCallback :: Maybe GesturePanPanCallback
- onGesturePanPan :: (GObject a, MonadIO m) => a -> GesturePanPanCallback -> m SignalHandlerId
Exported types
newtype GesturePan Source
class GObject o => GesturePanK o Source
(GObject o, IsDescendantOf GesturePan o) => GesturePanK o Source |
toGesturePan :: GesturePanK o => o -> IO GesturePan Source
Methods
gesturePanGetOrientation
gesturePanGetOrientation :: (MonadIO m, GesturePanK a) => a -> m Orientation Source
gesturePanNew
gesturePanNew :: (MonadIO m, WidgetK a) => a -> Orientation -> m GesturePan Source
gesturePanSetOrientation
gesturePanSetOrientation :: (MonadIO m, GesturePanK a) => a -> Orientation -> m () Source
Properties
Orientation
data GesturePanOrientationPropertyInfo Source
AttrInfo GesturePanOrientationPropertyInfo Source | |
type AttrLabel GesturePanOrientationPropertyInfo = "GesturePan::orientation" Source | |
type AttrGetType GesturePanOrientationPropertyInfo = Orientation Source | |
type AttrBaseTypeConstraint GesturePanOrientationPropertyInfo = GesturePanK Source | |
type AttrSetTypeConstraint GesturePanOrientationPropertyInfo = * ~ Orientation Source | |
type AttrAllowedOps GesturePanOrientationPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructGesturePanOrientation :: Orientation -> IO ([Char], GValue) Source
getGesturePanOrientation :: (MonadIO m, GesturePanK o) => o -> m Orientation Source
setGesturePanOrientation :: (MonadIO m, GesturePanK o) => o -> Orientation -> m () Source
Signals
Pan
type GesturePanPanCallback = PanDirection -> Double -> IO () Source
afterGesturePanPan :: (GObject a, MonadIO m) => a -> GesturePanPanCallback -> m SignalHandlerId Source
gesturePanPanCallbackWrapper :: GesturePanPanCallback -> Ptr () -> CUInt -> CDouble -> Ptr () -> IO () Source
onGesturePanPan :: (GObject a, MonadIO m) => a -> GesturePanPanCallback -> m SignalHandlerId Source