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 Pty = Pty (ForeignPtr Pty)
- class GObject o => PtyK o
- toPty :: PtyK o => o -> IO Pty
- noPty :: Maybe Pty
- ptyChildSetup :: (MonadIO m, PtyK a) => a -> m ()
- ptyGetFd :: (MonadIO m, PtyK a) => a -> m Int32
- ptyGetSize :: (MonadIO m, PtyK a) => a -> m (Int32, Int32)
- ptyNewForeignSync :: (MonadIO m, CancellableK a) => Int32 -> Maybe a -> m Pty
- ptyNewSync :: (MonadIO m, CancellableK a) => [PtyFlags] -> Maybe a -> m Pty
- ptySetSize :: (MonadIO m, PtyK a) => a -> Int32 -> Int32 -> m ()
- ptySetUtf8 :: (MonadIO m, PtyK a) => a -> Bool -> m ()
- data PtyFdPropertyInfo
- constructPtyFd :: Int32 -> IO ([Char], GValue)
- getPtyFd :: (MonadIO m, PtyK o) => o -> m Int32
- data PtyFlagsPropertyInfo
- constructPtyFlags :: [PtyFlags] -> IO ([Char], GValue)
- getPtyFlags :: (MonadIO m, PtyK o) => o -> m [PtyFlags]
Exported types
Pty (ForeignPtr Pty) |
GObject Pty | |
type ParentTypes Pty | |
type AttributeList Pty | |
type SignalList Pty |
Methods
ptyChildSetup
ptyChildSetup :: (MonadIO m, PtyK a) => a -> m () Source
ptyGetFd
ptyGetSize
ptyNewForeignSync
ptyNewForeignSync :: (MonadIO m, CancellableK a) => Int32 -> Maybe a -> m Pty Source
ptyNewSync
ptyNewSync :: (MonadIO m, CancellableK a) => [PtyFlags] -> Maybe a -> m Pty Source
ptySetSize
ptySetUtf8
ptySetUtf8 :: (MonadIO m, PtyK a) => a -> Bool -> m () Source
Properties
Fd
data PtyFdPropertyInfo Source
AttrInfo PtyFdPropertyInfo | |
type AttrLabel PtyFdPropertyInfo = "Pty::fd" | |
type AttrGetType PtyFdPropertyInfo = Int32 | |
type AttrBaseTypeConstraint PtyFdPropertyInfo = PtyK | |
type AttrSetTypeConstraint PtyFdPropertyInfo = * ~ Int32 | |
type AttrAllowedOps PtyFdPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
Flags
data PtyFlagsPropertyInfo Source
AttrInfo PtyFlagsPropertyInfo | |
type AttrLabel PtyFlagsPropertyInfo = "Pty::flags" | |
type AttrGetType PtyFlagsPropertyInfo = [PtyFlags] | |
type AttrBaseTypeConstraint PtyFlagsPropertyInfo = PtyK | |
type AttrSetTypeConstraint PtyFlagsPropertyInfo = * ~ [PtyFlags] | |
type AttrAllowedOps PtyFlagsPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getPtyFlags :: (MonadIO m, PtyK o) => o -> m [PtyFlags] Source