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 Plug = Plug (ForeignPtr Plug)
- class GObject o => PlugK o
- toPlug :: PlugK o => o -> IO Plug
- noPlug :: Maybe Plug
- data PlugConstructMethodInfo
- plugConstruct :: (MonadIO m, PlugK a) => a -> Word64 -> m ()
- data PlugConstructForDisplayMethodInfo
- plugConstructForDisplay :: (MonadIO m, PlugK a, DisplayK b) => a -> b -> Word64 -> m ()
- data PlugGetEmbeddedMethodInfo
- plugGetEmbedded :: (MonadIO m, PlugK a) => a -> m Bool
- data PlugGetIdMethodInfo
- plugGetId :: (MonadIO m, PlugK a) => a -> m Word64
- data PlugGetSocketWindowMethodInfo
- plugGetSocketWindow :: (MonadIO m, PlugK a) => a -> m Window
- plugNew :: MonadIO m => Word64 -> m Plug
- plugNewForDisplay :: (MonadIO m, DisplayK a) => a -> Word64 -> m Plug
- data PlugEmbeddedPropertyInfo
- getPlugEmbedded :: (MonadIO m, PlugK o) => o -> m Bool
- data PlugSocketWindowPropertyInfo
- getPlugSocketWindow :: (MonadIO m, PlugK o) => o -> m Window
- type PlugEmbeddedCallback = IO ()
- type PlugEmbeddedCallbackC = Ptr () -> Ptr () -> IO ()
- data PlugEmbeddedSignalInfo
- afterPlugEmbedded :: (GObject a, MonadIO m) => a -> PlugEmbeddedCallback -> m SignalHandlerId
- mkPlugEmbeddedCallback :: PlugEmbeddedCallbackC -> IO (FunPtr PlugEmbeddedCallbackC)
- noPlugEmbeddedCallback :: Maybe PlugEmbeddedCallback
- onPlugEmbedded :: (GObject a, MonadIO m) => a -> PlugEmbeddedCallback -> m SignalHandlerId
- plugEmbeddedCallbackWrapper :: PlugEmbeddedCallback -> Ptr () -> Ptr () -> IO ()
- plugEmbeddedClosure :: PlugEmbeddedCallback -> IO Closure
Exported types
GObject Plug Source | |
((~) * info (ResolvePlugMethod t Plug), MethodInfo * info Plug p) => IsLabel t (Plug -> p) Source | |
((~) * info (ResolvePlugMethod t Plug), MethodInfo * info Plug p) => IsLabelProxy t (Plug -> p) Source | |
type ParentTypes Plug Source | |
type AttributeList Plug Source | |
type SignalList Plug Source |
Methods
plugConstruct
data PlugConstructMethodInfo Source
((~) (TYPE Lifted) signature (Word64 -> m ()), MonadIO m, PlugK a) => MethodInfo (TYPE Lifted) PlugConstructMethodInfo a signature Source | |
plugConstruct :: (MonadIO m, PlugK a) => a -> Word64 -> m () Source
plugConstructForDisplay
data PlugConstructForDisplayMethodInfo Source
((~) (TYPE Lifted) signature (b -> Word64 -> m ()), MonadIO m, PlugK a, DisplayK b) => MethodInfo (TYPE Lifted) PlugConstructForDisplayMethodInfo a signature Source | |
plugConstructForDisplay :: (MonadIO m, PlugK a, DisplayK b) => a -> b -> Word64 -> m () Source
plugGetEmbedded
data PlugGetEmbeddedMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, PlugK a) => MethodInfo (TYPE Lifted) PlugGetEmbeddedMethodInfo a signature Source | |
plugGetEmbedded :: (MonadIO m, PlugK a) => a -> m Bool Source
plugGetId
data PlugGetIdMethodInfo Source
((~) (TYPE Lifted) signature (m Word64), MonadIO m, PlugK a) => MethodInfo (TYPE Lifted) PlugGetIdMethodInfo a signature Source | |
plugGetSocketWindow
data PlugGetSocketWindowMethodInfo Source
((~) (TYPE Lifted) signature (m Window), MonadIO m, PlugK a) => MethodInfo (TYPE Lifted) PlugGetSocketWindowMethodInfo a signature Source | |
plugGetSocketWindow :: (MonadIO m, PlugK a) => a -> m Window Source
plugNew
plugNewForDisplay
plugNewForDisplay :: (MonadIO m, DisplayK a) => a -> Word64 -> m Plug Source
Properties
Embedded
data PlugEmbeddedPropertyInfo Source
AttrInfo PlugEmbeddedPropertyInfo Source | |
type AttrLabel PlugEmbeddedPropertyInfo = "embedded" Source | |
type AttrGetType PlugEmbeddedPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint PlugEmbeddedPropertyInfo = PlugK Source | |
type AttrSetTypeConstraint PlugEmbeddedPropertyInfo = TYPE Lifted ~ () Source | |
type AttrAllowedOps PlugEmbeddedPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getPlugEmbedded :: (MonadIO m, PlugK o) => o -> m Bool Source
SocketWindow
data PlugSocketWindowPropertyInfo Source
AttrInfo PlugSocketWindowPropertyInfo Source | |
type AttrLabel PlugSocketWindowPropertyInfo = "socket-window" Source | |
type AttrGetType PlugSocketWindowPropertyInfo = Window Source | |
type AttrBaseTypeConstraint PlugSocketWindowPropertyInfo = PlugK Source | |
type AttrSetTypeConstraint PlugSocketWindowPropertyInfo = TYPE Lifted ~ () Source | |
type AttrAllowedOps PlugSocketWindowPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getPlugSocketWindow :: (MonadIO m, PlugK o) => o -> m Window Source
Signals
Embedded
type PlugEmbeddedCallback = IO () Source
type PlugEmbeddedCallbackC = Ptr () -> Ptr () -> IO () Source
afterPlugEmbedded :: (GObject a, MonadIO m) => a -> PlugEmbeddedCallback -> m SignalHandlerId Source
onPlugEmbedded :: (GObject a, MonadIO m) => a -> PlugEmbeddedCallback -> m SignalHandlerId Source
plugEmbeddedCallbackWrapper :: PlugEmbeddedCallback -> Ptr () -> Ptr () -> IO () Source