| 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 |
GI.Gtk.Objects.Plug
Contents
Description
- 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 -> CULong -> m ()
- data PlugConstructForDisplayMethodInfo
- plugConstructForDisplay :: (MonadIO m, PlugK a, DisplayK b) => a -> b -> CULong -> m ()
- data PlugGetEmbeddedMethodInfo
- plugGetEmbedded :: (MonadIO m, PlugK a) => a -> m Bool
- data PlugGetIdMethodInfo
- plugGetId :: (MonadIO m, PlugK a) => a -> m CULong
- data PlugGetSocketWindowMethodInfo
- plugGetSocketWindow :: (MonadIO m, PlugK a) => a -> m Window
- plugNew :: MonadIO m => CULong -> m Plug
- plugNewForDisplay :: (MonadIO m, DisplayK a) => a -> CULong -> m Plug
- data PlugEmbeddedPropertyInfo
- getPlugEmbedded :: (MonadIO m, PlugK o) => o -> m Bool
- plugEmbedded :: AttrLabelProxy "embedded"
- data PlugSocketWindowPropertyInfo
- getPlugSocketWindow :: (MonadIO m, PlugK o) => o -> m Window
- plugSocketWindow :: AttrLabelProxy "socketWindow"
- 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
Constructors
| Plug (ForeignPtr Plug) |
Instances
| GObject Plug | |
| ((~) * info (ResolvePlugMethod t Plug), MethodInfo * info Plug p) => IsLabelProxy t (Plug -> p) | |
| type ParentTypes Plug | |
| type AttributeList Plug | |
| type SignalList Plug |
Methods
plugConstruct
data PlugConstructMethodInfo Source
Instances
| ((~) * signature (CULong -> m ()), MonadIO m, PlugK a) => MethodInfo * PlugConstructMethodInfo a signature |
plugConstruct :: (MonadIO m, PlugK a) => a -> CULong -> m () Source
plugConstructForDisplay
data PlugConstructForDisplayMethodInfo Source
Instances
| ((~) * signature (b -> CULong -> m ()), MonadIO m, PlugK a, DisplayK b) => MethodInfo * PlugConstructForDisplayMethodInfo a signature |
plugGetEmbedded
data PlugGetEmbeddedMethodInfo Source
Instances
| ((~) * signature (m Bool), MonadIO m, PlugK a) => MethodInfo * PlugGetEmbeddedMethodInfo a signature |
plugGetEmbedded :: (MonadIO m, PlugK a) => a -> m Bool Source
plugGetId
data PlugGetIdMethodInfo Source
Instances
| ((~) * signature (m CULong), MonadIO m, PlugK a) => MethodInfo * PlugGetIdMethodInfo a signature |
plugGetSocketWindow
data PlugGetSocketWindowMethodInfo Source
Instances
| ((~) * signature (m Window), MonadIO m, PlugK a) => MethodInfo * PlugGetSocketWindowMethodInfo a signature |
plugGetSocketWindow :: (MonadIO m, PlugK a) => a -> m Window Source
plugNew
plugNewForDisplay
Properties
Embedded
data PlugEmbeddedPropertyInfo Source
Instances
| AttrInfo PlugEmbeddedPropertyInfo | |
| type AttrLabel PlugEmbeddedPropertyInfo = "embedded" | |
| type AttrGetType PlugEmbeddedPropertyInfo = Bool | |
| type AttrBaseTypeConstraint PlugEmbeddedPropertyInfo = PlugK | |
| type AttrSetTypeConstraint PlugEmbeddedPropertyInfo = * ~ () | |
| type AttrAllowedOps PlugEmbeddedPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getPlugEmbedded :: (MonadIO m, PlugK o) => o -> m Bool Source
plugEmbedded :: AttrLabelProxy "embedded" Source
SocketWindow
data PlugSocketWindowPropertyInfo Source
Instances
| AttrInfo PlugSocketWindowPropertyInfo | |
| type AttrLabel PlugSocketWindowPropertyInfo = "socket-window" | |
| type AttrGetType PlugSocketWindowPropertyInfo = Window | |
| type AttrBaseTypeConstraint PlugSocketWindowPropertyInfo = PlugK | |
| type AttrSetTypeConstraint PlugSocketWindowPropertyInfo = * ~ () | |
| type AttrAllowedOps PlugSocketWindowPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
getPlugSocketWindow :: (MonadIO m, PlugK o) => o -> m Window Source
plugSocketWindow :: AttrLabelProxy "socketWindow" 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