X11-1.5.0.0: A binding to the X11 graphics library

Portability | portable
Stability | provisional
Maintainer | libraries@haskell.org

Graphics.X11.Xlib.Window

Description

A collection of FFI declarations for interfacing with Xlib Windows.

Synopsis

- storeName :: Display -> Window -> String -> IO ()
- createSimpleWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> Pixel -> Pixel -> IO Window
- createWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> CInt -> WindowClass -> Visual -> AttributeMask -> Ptr SetWindowAttributes -> IO Window
- translateCoordinates :: Display -> Window -> Window -> Position -> Position -> IO (Bool, Position, Position, Window)
- moveResizeWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> IO ()
- resizeWindow :: Display -> Window -> Dimension -> Dimension -> IO ()
- moveWindow :: Display -> Window -> Position -> Position -> IO ()
- reparentWindow :: Display -> Window -> Window -> Position -> Position -> IO ()
- mapSubwindows :: Display -> Window -> IO ()
- unmapSubwindows :: Display -> Window -> IO ()
- mapWindow :: Display -> Window -> IO ()
- lowerWindow :: Display -> Window -> IO ()
- raiseWindow :: Display -> Window -> IO ()
- circulateSubwindowsDown :: Display -> Window -> IO ()
- circulateSubwindowsUp :: Display -> Window -> IO ()
- circulateSubwindows :: Display -> Window -> CirculationDirection -> IO ()
- iconifyWindow :: Display -> Window -> ScreenNumber -> IO ()
- withdrawWindow :: Display -> Window -> ScreenNumber -> IO ()
- destroyWindow :: Display -> Window -> IO ()
- destroySubwindows :: Display -> Window -> IO ()
- setWindowBorder :: Display -> Window -> Pixel -> IO ()
- setWindowBorderPixmap :: Display -> Window -> Pixmap -> IO ()
- setWindowBorderWidth :: Display -> Window -> Dimension -> IO ()
- setWindowBackground :: Display -> Window -> Pixel -> IO ()
- setWindowBackgroundPixmap :: Display -> Window -> Pixmap -> IO ()
- setWindowColormap :: Display -> Window -> Colormap -> IO ()
- addToSaveSet :: Display -> Window -> IO ()
- removeFromSaveSet :: Display -> Window -> IO ()
- changeSaveSet :: Display -> Window -> ChangeSaveSetMode -> IO ()
- clearWindow :: Display -> Window -> IO ()
- clearArea :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> Bool -> IO ()
- restackWindows :: Display -> [Window] -> IO ()

# Documentation

storeName :: Display -> Window -> String -> IO ()

interface to the X11 library function `XStoreName()`.

createSimpleWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> Pixel -> Pixel -> IO Window

interface to the X11 library function `XCreateSimpleWindow()`.

createWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> CInt -> WindowClass -> Visual -> AttributeMask -> Ptr SetWindowAttributes -> IO Window

interface to the X11 library function `XCreateWindow()`.

translateCoordinates :: Display -> Window -> Window -> Position -> Position -> IO (Bool, Position, Position, Window)

interface to the X11 library function `XTranslateCoordinates()`.

moveResizeWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> IO ()

interface to the X11 library function `XMoveResizeWindow()`.

resizeWindow :: Display -> Window -> Dimension -> Dimension -> IO ()

interface to the X11 library function `XResizeWindow()`.

moveWindow :: Display -> Window -> Position -> Position -> IO ()

interface to the X11 library function `XMoveWindow()`.

reparentWindow :: Display -> Window -> Window -> Position -> Position -> IO ()

interface to the X11 library function `XReparentWindow()`.

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

interface to the X11 library function `XMapSubwindows()`.

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

interface to the X11 library function `XUnmapSubwindows()`.

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

interface to the X11 library function `XMapWindow()`.

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

interface to the X11 library function `XLowerWindow()`.

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

interface to the X11 library function `XRaiseWindow()`.

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

interface to the X11 library function `XCirculateSubwindowsDown()`.

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

interface to the X11 library function `XCirculateSubwindowsUp()`.

circulateSubwindows :: Display -> Window -> CirculationDirection -> IO ()

interface to the X11 library function `XCirculateSubwindows()`.

iconifyWindow :: Display -> Window -> ScreenNumber -> IO ()

interface to the X11 library function `XIconifyWindow()`.

withdrawWindow :: Display -> Window -> ScreenNumber -> IO ()

interface to the X11 library function `XWithdrawWindow()`.

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

interface to the X11 library function `XDestroyWindow()`.

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

interface to the X11 library function `XDestroySubwindows()`.

setWindowBorder :: Display -> Window -> Pixel -> IO ()

interface to the X11 library function `XSetWindowBorder()`.

setWindowBorderPixmap :: Display -> Window -> Pixmap -> IO ()

interface to the X11 library function `XSetWindowBorderPixmap()`.

setWindowBorderWidth :: Display -> Window -> Dimension -> IO ()

interface to the X11 library function `XSetWindowBorderWidth()`.

setWindowBackground :: Display -> Window -> Pixel -> IO ()

interface to the X11 library function `XSetWindowBackground()`.

setWindowBackgroundPixmap :: Display -> Window -> Pixmap -> IO ()

interface to the X11 library function `XSetWindowBackgroundPixmap()`.

setWindowColormap :: Display -> Window -> Colormap -> IO ()

interface to the X11 library function `XSetWindowColormap()`.

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

interface to the X11 library function `XAddToSaveSet()`.

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

interface to the X11 library function `XRemoveFromSaveSet()`.

changeSaveSet :: Display -> Window -> ChangeSaveSetMode -> IO ()

interface to the X11 library function `XChangeSaveSet()`.

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

interface to the X11 library function `XClearWindow()`.

clearArea :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> Bool -> IO ()

interface to the X11 library function `XClearArea()`.

restackWindows :: Display -> [Window] -> IO ()

interface to the X11 library function `XRestackWindows()`.