Safe Haskell | None |
---|---|
Language | Haskell98 |
X Haskell Bindings This module containes (or re-exports) the core functionality needed to communicate with an X server.
No frills.
If you'd like to work with an extension to the X Protocol, you should be able to find what you're looking for in one of the Graphics.XHB.Gen.* modules. Also, the module Graphics.XHB.Connection.Extension may be of use.
- module Graphics.XHB.Connection
- module Graphics.XHB.Gen.Xproto
- data Xid
- class XidLike a where
- xidNone :: Xid
- class SimpleEnum a where
- class BitEnum a where
- fromMask :: (Bits b, BitEnum e) => b -> [e]
- toMask :: (Bits b, Num b, BitEnum e) => [e] -> b
- data ValueParam a
- toValueParam :: (Bits a, Num a, BitEnum e) => [(e, Word32)] -> ValueParam a
- fromValueParam :: (Bits a, BitEnum e) => ValueParam a -> [(e, Word32)]
- emptyValueParam :: Num a => ValueParam a
- stringToCList :: String -> [CChar]
- data Receipt a
- getReply :: Receipt a -> IO (Either SomeError a)
- class (Typeable a, Show a) => Error a where
- data SomeError
- data UnknownError = UnknownError ByteString
- class Typeable a => Event a where
- data SomeEvent
- data UnknownEvent = UnknownEvent ByteString
Documentation
module Graphics.XHB.Connection
module Graphics.XHB.Gen.Xproto
class SimpleEnum a where Source
data ValueParam a Source
(Bits a, Show a) => Show (ValueParam a) |
toValueParam :: (Bits a, Num a, BitEnum e) => [(e, Word32)] -> ValueParam a Source
fromValueParam :: (Bits a, BitEnum e) => ValueParam a -> [(e, Word32)] Source
emptyValueParam :: Num a => ValueParam a Source
stringToCList :: String -> [CChar] Source
getReply :: Receipt a -> IO (Either SomeError a) Source
Extracts a reply from the receipt from the request. Blocks until the reply is available.
class (Typeable a, Show a) => Error a where Source
Nothing
data UnknownError Source
class Typeable a => Event a where Source
Nothing