Copyright | (c) Ivan A. Malison |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | Ivan A. Malison |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
System.Information.SafeX11
Contents
Description
Documentation
safeXGetWindowProperty :: Display -> Window -> Atom -> CLong -> CLong -> Bool -> Atom -> Ptr Atom -> Ptr CInt -> Ptr CULong -> Ptr CULong -> Ptr (Ptr CUChar) -> IO Status Source #
rawGetWindowPropertyBytes :: Storable a => Int -> Display -> Atom -> Window -> IO (Maybe (ForeignPtr a, Int)) Source #
data SafeX11Exception Source #
Constructors
SafeX11Exception |
Instances
Eq SafeX11Exception Source # | |
Defined in System.Information.SafeX11 Methods (==) :: SafeX11Exception -> SafeX11Exception -> Bool # (/=) :: SafeX11Exception -> SafeX11Exception -> Bool # | |
Show SafeX11Exception Source # | |
Defined in System.Information.SafeX11 Methods showsPrec :: Int -> SafeX11Exception -> ShowS # show :: SafeX11Exception -> String # showList :: [SafeX11Exception] -> ShowS # | |
Exception SafeX11Exception Source # | |
Defined in System.Information.SafeX11 Methods toException :: SafeX11Exception -> SomeException # |
Constructors
IORequest | |
Fields
|
withErrorHandler :: XErrorHandler -> IO a -> IO a Source #
startHandlingX11Requests :: IO () Source #
handleX11Requests :: IO () Source #
postX11RequestSync :: IO a -> IO (Either SafeX11Exception a) Source #
postX11RequestSyncDef :: a -> IO a -> IO a Source #
safeGetGeometry :: Display -> Drawable -> IO (Window, Position, Position, Dimension, Dimension, Dimension, CInt) Source #
outParameters7 :: (Storable a, Storable b, Storable c, Storable d, Storable e, Storable f, Storable g) => (IO r -> IO ()) -> (Ptr a -> Ptr b -> Ptr c -> Ptr d -> Ptr e -> Ptr f -> Ptr g -> IO r) -> IO (a, b, c, d, e, f, g) Source #
xGetGeometry :: Display -> Drawable -> Ptr Window -> Ptr Position -> Ptr Position -> Ptr Dimension -> Ptr Dimension -> Ptr Dimension -> Ptr CInt -> IO Status Source #
Orphan instances
Show ErrorEvent Source # | |
Methods showsPrec :: Int -> ErrorEvent -> ShowS # show :: ErrorEvent -> String # showList :: [ErrorEvent] -> ShowS # |