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
- data PtyChildSetupMethodInfo
- ptyChildSetup :: (MonadIO m, PtyK a) => a -> m ()
- data PtyGetFdMethodInfo
- ptyGetFd :: (MonadIO m, PtyK a) => a -> m Int32
- data PtyGetSizeMethodInfo
- 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
- data PtySetSizeMethodInfo
- ptySetSize :: (MonadIO m, PtyK a) => a -> Int32 -> Int32 -> m ()
- data PtySetUtf8MethodInfo
- 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 Source | |
((~) * info (ResolvePtyMethod t Pty), MethodInfo * info Pty p) => IsLabel t (Pty -> p) Source | |
((~) * info (ResolvePtyMethod t Pty), MethodInfo * info Pty p) => IsLabelProxy t (Pty -> p) Source | |
type ParentTypes Pty Source | |
type AttributeList Pty Source | |
type SignalList Pty Source |
Methods
ptyChildSetup
data PtyChildSetupMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m, PtyK a) => MethodInfo (TYPE Lifted) PtyChildSetupMethodInfo a signature Source | |
ptyChildSetup :: (MonadIO m, PtyK a) => a -> m () Source
ptyGetFd
data PtyGetFdMethodInfo Source
((~) (TYPE Lifted) signature (m Int32), MonadIO m, PtyK a) => MethodInfo (TYPE Lifted) PtyGetFdMethodInfo a signature Source | |
ptyGetSize
ptyNewForeignSync
ptyNewSync
ptySetSize
ptySetUtf8
data PtySetUtf8MethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, PtyK a) => MethodInfo (TYPE Lifted) PtySetUtf8MethodInfo a signature Source | |
ptySetUtf8 :: (MonadIO m, PtyK a) => a -> Bool -> m () Source
Properties
Fd
data PtyFdPropertyInfo Source
AttrInfo PtyFdPropertyInfo Source | |
type AttrLabel PtyFdPropertyInfo = "fd" Source | |
type AttrGetType PtyFdPropertyInfo = Int32 Source | |
type AttrBaseTypeConstraint PtyFdPropertyInfo = PtyK Source | |
type AttrSetTypeConstraint PtyFdPropertyInfo = TYPE Lifted ~ Int32 Source | |
type AttrAllowedOps PtyFdPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
Flags
data PtyFlagsPropertyInfo Source
AttrInfo PtyFlagsPropertyInfo Source | |
type AttrLabel PtyFlagsPropertyInfo = "flags" Source | |
type AttrGetType PtyFlagsPropertyInfo = [PtyFlags] Source | |
type AttrBaseTypeConstraint PtyFlagsPropertyInfo = PtyK Source | |
type AttrSetTypeConstraint PtyFlagsPropertyInfo = TYPE Lifted ~ [PtyFlags] Source | |
type AttrAllowedOps PtyFlagsPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getPtyFlags :: (MonadIO m, PtyK o) => o -> m [PtyFlags] Source