Portability | unportable |
---|---|
Stability | unstable |
Maintainer | Jose A. Ortega Ruiz <jao@gnu.org> |
Safe Haskell | None |
Window
Description
Window manipulation functions
- createWin :: Display -> XFont -> Config -> IO (Rectangle, Window)
- repositionWin :: Display -> Window -> XFont -> Config -> IO Rectangle
- setPosition :: Config -> XPosition -> [Rectangle] -> Dimension -> Rectangle
- setProperties :: Config -> Display -> Window -> IO ()
- setStruts' :: Display -> Window -> [CLong] -> IO ()
- setStruts :: Rectangle -> Config -> Display -> Window -> [Rectangle] -> IO ()
- getRootWindowHeight :: [Rectangle] -> Int
- getStrutValues :: Rectangle -> XPosition -> Int -> [Int]
- getStaticStrutValues :: XPosition -> Int -> [Int]
- drawBorder :: Border -> Int -> Display -> Drawable -> GC -> Pixel -> Dimension -> Dimension -> IO ()
- hideWindow :: Display -> Window -> IO ()
- showWindow :: Rectangle -> Config -> Display -> Window -> IO ()
- isMapped :: Display -> Window -> IO Bool
- borderOffset :: Integral a => Border -> Int -> a
- calcBorderOffset :: Integral a => Int -> a
Documentation
createWin :: Display -> XFont -> Config -> IO (Rectangle, Window)
The function to create the initial window
repositionWin :: Display -> Window -> XFont -> Config -> IO Rectangle
Updates the size and position of the window
setPosition :: Config -> XPosition -> [Rectangle] -> Dimension -> Rectangle
setProperties :: Config -> Display -> Window -> IO ()
setStruts' :: Display -> Window -> [CLong] -> IO ()
getRootWindowHeight :: [Rectangle] -> Int
getStrutValues :: Rectangle -> XPosition -> Int -> [Int]
getStaticStrutValues :: XPosition -> Int -> [Int]
drawBorder :: Border -> Int -> Display -> Drawable -> GC -> Pixel -> Dimension -> Dimension -> IO ()
hideWindow :: Display -> Window -> IO ()
showWindow :: Rectangle -> Config -> Display -> Window -> IO ()
isMapped :: Display -> Window -> IO Bool
borderOffset :: Integral a => Border -> Int -> a
calcBorderOffset :: Integral a => Int -> a