| 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 => IsPlug o
- toPlug :: IsPlug o => o -> IO Plug
- noPlug :: Maybe Plug
- data PlugConstructMethodInfo
- plugConstruct :: (MonadIO m, IsPlug a) => a -> CULong -> m ()
- data PlugConstructForDisplayMethodInfo
- plugConstructForDisplay :: (MonadIO m, IsPlug a, IsDisplay b) => a -> b -> CULong -> m ()
- data PlugGetEmbeddedMethodInfo
- plugGetEmbedded :: (MonadIO m, IsPlug a) => a -> m Bool
- data PlugGetIdMethodInfo
- plugGetId :: (MonadIO m, IsPlug a) => a -> m CULong
- data PlugGetSocketWindowMethodInfo
- plugGetSocketWindow :: (MonadIO m, IsPlug a) => a -> m (Maybe Window)
- plugNew :: MonadIO m => CULong -> m Plug
- plugNewForDisplay :: (MonadIO m, IsDisplay a) => a -> CULong -> m Plug
- data PlugEmbeddedPropertyInfo
- getPlugEmbedded :: (MonadIO m, IsPlug o) => o -> m Bool
- plugEmbedded :: AttrLabelProxy "embedded"
- data PlugSocketWindowPropertyInfo
- getPlugSocketWindow :: (MonadIO m, IsPlug o) => o -> m (Maybe 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 Source # | |
| IsObject Plug Source # | |
| IsWindow Plug Source # | |
| IsWidget Plug Source # | |
| IsContainer Plug Source # | |
| IsBin Plug Source # | |
| IsBuildable Plug Source # | |
| IsImplementorIface Plug Source # | |
| IsPlug 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 # | |
| HasAttributeList * Plug Source # | |
| type SignalList Plug Source # | |
| type AttributeList Plug Source # | |
Methods
plugConstruct
plugConstructForDisplay
plugGetEmbedded
plugGetId
data PlugGetIdMethodInfo Source #
plugGetSocketWindow
plugNew
plugNewForDisplay
Properties
Embedded
data PlugEmbeddedPropertyInfo Source #
Instances
| AttrInfo PlugEmbeddedPropertyInfo Source # | |
| type AttrSetTypeConstraint PlugEmbeddedPropertyInfo Source # | |
| type AttrLabel PlugEmbeddedPropertyInfo Source # | |
| type AttrGetType PlugEmbeddedPropertyInfo Source # | |
| type AttrBaseTypeConstraint PlugEmbeddedPropertyInfo Source # | |
| type AttrAllowedOps PlugEmbeddedPropertyInfo Source # | |
plugEmbedded :: AttrLabelProxy "embedded" Source #
SocketWindow
data PlugSocketWindowPropertyInfo Source #
Instances
| AttrInfo PlugSocketWindowPropertyInfo Source # | |
| type AttrSetTypeConstraint PlugSocketWindowPropertyInfo Source # | |
| type AttrLabel PlugSocketWindowPropertyInfo Source # | |
| type AttrGetType PlugSocketWindowPropertyInfo Source # | |
| type AttrBaseTypeConstraint PlugSocketWindowPropertyInfo Source # | |
| type AttrAllowedOps PlugSocketWindowPropertyInfo Source # | |
plugSocketWindow :: AttrLabelProxy "socketWindow" Source #
Signals
Embedded
type PlugEmbeddedCallback = IO () Source #
data PlugEmbeddedSignalInfo Source #
Instances
| SignalInfo PlugEmbeddedSignalInfo Source # | |
| type HaskellCallbackType PlugEmbeddedSignalInfo 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 #
plugEmbeddedClosure :: PlugEmbeddedCallback -> IO Closure Source #