| 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.Vte.Objects.Pty
Contents
Description
- 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
- ptyFd :: AttrLabelProxy "fd"
- data PtyFlagsPropertyInfo
- constructPtyFlags :: [PtyFlags] -> IO ([Char], GValue)
- getPtyFlags :: (MonadIO m, PtyK o) => o -> m [PtyFlags]
- ptyFlags :: AttrLabelProxy "flags"
Exported types
Constructors
| Pty (ForeignPtr Pty) |
Instances
| GObject Pty 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
Instances
| ((~) * signature (m ()), MonadIO m, PtyK a) => MethodInfo * PtyChildSetupMethodInfo a signature Source |
ptyChildSetup :: (MonadIO m, PtyK a) => a -> m () Source
ptyGetFd
data PtyGetFdMethodInfo Source
Instances
| ((~) * signature (m Int32), MonadIO m, PtyK a) => MethodInfo * PtyGetFdMethodInfo a signature Source |
ptyGetSize
data PtyGetSizeMethodInfo Source
Instances
| ((~) * signature (m (Int32, Int32)), MonadIO m, PtyK a) => MethodInfo * PtyGetSizeMethodInfo a signature Source |
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
data PtySetSizeMethodInfo Source
Instances
| ((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, PtyK a) => MethodInfo * PtySetSizeMethodInfo a signature Source |
ptySetUtf8
data PtySetUtf8MethodInfo Source
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, PtyK a) => MethodInfo * PtySetUtf8MethodInfo a signature Source |
ptySetUtf8 :: (MonadIO m, PtyK a) => a -> Bool -> m () Source
Properties
Fd
data PtyFdPropertyInfo Source
Instances
| AttrInfo PtyFdPropertyInfo Source | |
| type AttrLabel PtyFdPropertyInfo = "fd" Source | |
| type AttrGetType PtyFdPropertyInfo = Int32 Source | |
| type AttrBaseTypeConstraint PtyFdPropertyInfo = PtyK Source | |
| type AttrSetTypeConstraint PtyFdPropertyInfo = * ~ Int32 Source | |
| type AttrAllowedOps PtyFdPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
ptyFd :: AttrLabelProxy "fd" Source
Flags
data PtyFlagsPropertyInfo Source
Instances
| AttrInfo PtyFlagsPropertyInfo Source | |
| type AttrLabel PtyFlagsPropertyInfo = "flags" Source | |
| type AttrGetType PtyFlagsPropertyInfo = [PtyFlags] Source | |
| type AttrBaseTypeConstraint PtyFlagsPropertyInfo = PtyK Source | |
| type AttrSetTypeConstraint PtyFlagsPropertyInfo = * ~ [PtyFlags] Source | |
| type AttrAllowedOps PtyFlagsPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getPtyFlags :: (MonadIO m, PtyK o) => o -> m [PtyFlags] Source
ptyFlags :: AttrLabelProxy "flags" Source