| 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
- plugConstruct :: (MonadIO m, PlugK a) => a -> Word64 -> m ()
- plugConstructForDisplay :: (MonadIO m, PlugK a, DisplayK b) => a -> b -> Word64 -> m ()
- plugGetEmbedded :: (MonadIO m, PlugK a) => a -> m Bool
- plugGetId :: (MonadIO m, PlugK a) => a -> m Word64
- 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
Constructors
| Plug (ForeignPtr Plug) |
Instances
| GObject Plug Source | |
| type ParentTypes Plug Source | |
| type AttributeList Plug Source | |
| type SignalList Plug Source |
Methods
plugConstruct
plugConstruct :: (MonadIO m, PlugK a) => a -> Word64 -> m () Source
plugConstructForDisplay
plugGetEmbedded
plugGetEmbedded :: (MonadIO m, PlugK a) => a -> m Bool Source
plugGetId
plugGetSocketWindow
plugGetSocketWindow :: (MonadIO m, PlugK a) => a -> m Window Source
plugNew
plugNewForDisplay
Properties
Embedded
data PlugEmbeddedPropertyInfo Source
Instances
| AttrInfo PlugEmbeddedPropertyInfo Source | |
| type AttrLabel PlugEmbeddedPropertyInfo = "Plug::embedded" Source | |
| type AttrGetType PlugEmbeddedPropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint PlugEmbeddedPropertyInfo = PlugK Source | |
| type AttrSetTypeConstraint PlugEmbeddedPropertyInfo = * ~ () Source | |
| type AttrAllowedOps PlugEmbeddedPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getPlugEmbedded :: (MonadIO m, PlugK o) => o -> m Bool Source
SocketWindow
data PlugSocketWindowPropertyInfo Source
Instances
| AttrInfo PlugSocketWindowPropertyInfo Source | |
| type AttrLabel PlugSocketWindowPropertyInfo = "Plug::socket-window" Source | |
| type AttrGetType PlugSocketWindowPropertyInfo = Window Source | |
| type AttrBaseTypeConstraint PlugSocketWindowPropertyInfo = PlugK Source | |
| type AttrSetTypeConstraint PlugSocketWindowPropertyInfo = * ~ () 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