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 IOStream = IOStream (ForeignPtr IOStream)
- class GObject o => IOStreamK o
- toIOStream :: IOStreamK o => o -> IO IOStream
- noIOStream :: Maybe IOStream
- data IOStreamClearPendingMethodInfo
- iOStreamClearPending :: (MonadIO m, IOStreamK a) => a -> m ()
- data IOStreamCloseMethodInfo
- iOStreamClose :: (MonadIO m, IOStreamK a, CancellableK b) => a -> Maybe b -> m ()
- data IOStreamCloseAsyncMethodInfo
- iOStreamCloseAsync :: (MonadIO m, IOStreamK a, CancellableK b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data IOStreamCloseFinishMethodInfo
- iOStreamCloseFinish :: (MonadIO m, IOStreamK a, AsyncResultK b) => a -> b -> m ()
- data IOStreamGetInputStreamMethodInfo
- iOStreamGetInputStream :: (MonadIO m, IOStreamK a) => a -> m InputStream
- data IOStreamGetOutputStreamMethodInfo
- iOStreamGetOutputStream :: (MonadIO m, IOStreamK a) => a -> m OutputStream
- data IOStreamHasPendingMethodInfo
- iOStreamHasPending :: (MonadIO m, IOStreamK a) => a -> m Bool
- data IOStreamIsClosedMethodInfo
- iOStreamIsClosed :: (MonadIO m, IOStreamK a) => a -> m Bool
- data IOStreamSetPendingMethodInfo
- iOStreamSetPending :: (MonadIO m, IOStreamK a) => a -> m ()
- data IOStreamSpliceAsyncMethodInfo
- iOStreamSpliceAsync :: (MonadIO m, IOStreamK a, IOStreamK b, CancellableK c) => a -> b -> [IOStreamSpliceFlags] -> Int32 -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- iOStreamSpliceFinish :: (MonadIO m, AsyncResultK a) => a -> m ()
- data IOStreamClosedPropertyInfo
- getIOStreamClosed :: (MonadIO m, IOStreamK o) => o -> m Bool
- iOStreamClosed :: AttrLabelProxy "closed"
- data IOStreamInputStreamPropertyInfo
- getIOStreamInputStream :: (MonadIO m, IOStreamK o) => o -> m InputStream
- iOStreamInputStream :: AttrLabelProxy "inputStream"
- data IOStreamOutputStreamPropertyInfo
- getIOStreamOutputStream :: (MonadIO m, IOStreamK o) => o -> m OutputStream
- iOStreamOutputStream :: AttrLabelProxy "outputStream"
Exported types
GObject IOStream | |
((~) * info (ResolveIOStreamMethod t IOStream), MethodInfo * info IOStream p) => IsLabelProxy t (IOStream -> p) | |
type ParentTypes IOStream | |
type AttributeList IOStream | |
type SignalList IOStream |
toIOStream :: IOStreamK o => o -> IO IOStream Source
Methods
iOStreamClearPending
data IOStreamClearPendingMethodInfo Source
((~) * signature (m ()), MonadIO m, IOStreamK a) => MethodInfo * IOStreamClearPendingMethodInfo a signature |
iOStreamClearPending :: (MonadIO m, IOStreamK a) => a -> m () Source
iOStreamClose
data IOStreamCloseMethodInfo Source
((~) * signature (Maybe b -> m ()), MonadIO m, IOStreamK a, CancellableK b) => MethodInfo * IOStreamCloseMethodInfo a signature |
iOStreamClose :: (MonadIO m, IOStreamK a, CancellableK b) => a -> Maybe b -> m () Source
iOStreamCloseAsync
data IOStreamCloseAsyncMethodInfo Source
((~) * signature (Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IOStreamK a, CancellableK b) => MethodInfo * IOStreamCloseAsyncMethodInfo a signature |
iOStreamCloseAsync :: (MonadIO m, IOStreamK a, CancellableK b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
iOStreamCloseFinish
data IOStreamCloseFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, IOStreamK a, AsyncResultK b) => MethodInfo * IOStreamCloseFinishMethodInfo a signature |
iOStreamCloseFinish :: (MonadIO m, IOStreamK a, AsyncResultK b) => a -> b -> m () Source
iOStreamGetInputStream
data IOStreamGetInputStreamMethodInfo Source
((~) * signature (m InputStream), MonadIO m, IOStreamK a) => MethodInfo * IOStreamGetInputStreamMethodInfo a signature |
iOStreamGetInputStream :: (MonadIO m, IOStreamK a) => a -> m InputStream Source
iOStreamGetOutputStream
data IOStreamGetOutputStreamMethodInfo Source
((~) * signature (m OutputStream), MonadIO m, IOStreamK a) => MethodInfo * IOStreamGetOutputStreamMethodInfo a signature |
iOStreamGetOutputStream :: (MonadIO m, IOStreamK a) => a -> m OutputStream Source
iOStreamHasPending
data IOStreamHasPendingMethodInfo Source
((~) * signature (m Bool), MonadIO m, IOStreamK a) => MethodInfo * IOStreamHasPendingMethodInfo a signature |
iOStreamHasPending :: (MonadIO m, IOStreamK a) => a -> m Bool Source
iOStreamIsClosed
data IOStreamIsClosedMethodInfo Source
((~) * signature (m Bool), MonadIO m, IOStreamK a) => MethodInfo * IOStreamIsClosedMethodInfo a signature |
iOStreamIsClosed :: (MonadIO m, IOStreamK a) => a -> m Bool Source
iOStreamSetPending
data IOStreamSetPendingMethodInfo Source
((~) * signature (m ()), MonadIO m, IOStreamK a) => MethodInfo * IOStreamSetPendingMethodInfo a signature |
iOStreamSetPending :: (MonadIO m, IOStreamK a) => a -> m () Source
iOStreamSpliceAsync
data IOStreamSpliceAsyncMethodInfo Source
((~) * signature (b -> [IOStreamSpliceFlags] -> Int32 -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IOStreamK a, IOStreamK b, CancellableK c) => MethodInfo * IOStreamSpliceAsyncMethodInfo a signature |
iOStreamSpliceAsync :: (MonadIO m, IOStreamK a, IOStreamK b, CancellableK c) => a -> b -> [IOStreamSpliceFlags] -> Int32 -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
iOStreamSpliceFinish
iOStreamSpliceFinish :: (MonadIO m, AsyncResultK a) => a -> m () Source
Properties
Closed
data IOStreamClosedPropertyInfo Source
AttrInfo IOStreamClosedPropertyInfo | |
type AttrLabel IOStreamClosedPropertyInfo = "closed" | |
type AttrGetType IOStreamClosedPropertyInfo = Bool | |
type AttrBaseTypeConstraint IOStreamClosedPropertyInfo = IOStreamK | |
type AttrSetTypeConstraint IOStreamClosedPropertyInfo = * ~ () | |
type AttrAllowedOps IOStreamClosedPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getIOStreamClosed :: (MonadIO m, IOStreamK o) => o -> m Bool Source
iOStreamClosed :: AttrLabelProxy "closed" Source
InputStream
data IOStreamInputStreamPropertyInfo Source
AttrInfo IOStreamInputStreamPropertyInfo | |
type AttrLabel IOStreamInputStreamPropertyInfo = "input-stream" | |
type AttrGetType IOStreamInputStreamPropertyInfo = InputStream | |
type AttrBaseTypeConstraint IOStreamInputStreamPropertyInfo = IOStreamK | |
type AttrSetTypeConstraint IOStreamInputStreamPropertyInfo = * ~ () | |
type AttrAllowedOps IOStreamInputStreamPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
getIOStreamInputStream :: (MonadIO m, IOStreamK o) => o -> m InputStream Source
iOStreamInputStream :: AttrLabelProxy "inputStream" Source
OutputStream
data IOStreamOutputStreamPropertyInfo Source
AttrInfo IOStreamOutputStreamPropertyInfo | |
type AttrLabel IOStreamOutputStreamPropertyInfo = "output-stream" | |
type AttrGetType IOStreamOutputStreamPropertyInfo = OutputStream | |
type AttrBaseTypeConstraint IOStreamOutputStreamPropertyInfo = IOStreamK | |
type AttrSetTypeConstraint IOStreamOutputStreamPropertyInfo = * ~ () | |
type AttrAllowedOps IOStreamOutputStreamPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
getIOStreamOutputStream :: (MonadIO m, IOStreamK o) => o -> m OutputStream Source
iOStreamOutputStream :: AttrLabelProxy "outputStream" Source