xmobar

Portabilityunportable
Stabilityunstable
MaintainerJose A. Ortega Ruiz <jao@gnu.org>
Safe HaskellNone

Window

Description

Window manipulation functions

Synopsis

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 :: 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 -> Display -> Drawable -> GC -> Pixel -> Dimension -> Dimension -> IO ()

hideWindow :: Display -> Window -> IO ()

showWindow :: Rectangle -> Config -> Display -> Window -> IO ()

isMapped :: Display -> Window -> IO Bool