X11-1.9: A binding to the X11 graphics library

Copyright(c) Alastair Reid 1999-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Graphics.X11.Xlib.Window

Description

A collection of FFI declarations for interfacing with Xlib Windows.

Synopsis

Documentation

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

interface to the X11 library function XStoreName().

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

interface to the X11 library function XCreateSimpleWindow().

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

interface to the X11 library function XCreateWindow().

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

interface to the X11 library function XTranslateCoordinates().

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

interface to the X11 library function XMoveResizeWindow().

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

interface to the X11 library function XResizeWindow().

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

interface to the X11 library function XMoveWindow().

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

interface to the X11 library function XReparentWindow().

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

interface to the X11 library function XMapSubwindows().

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

interface to the X11 library function XUnmapSubwindows().

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

interface to the X11 library function XMapWindow().

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

interface to the X11 library function XLowerWindow().

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

interface to the X11 library function XRaiseWindow().

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

interface to the X11 library function XCirculateSubwindowsDown().

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

interface to the X11 library function XCirculateSubwindowsUp().

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

interface to the X11 library function XCirculateSubwindows().

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

interface to the X11 library function XIconifyWindow().

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

interface to the X11 library function XWithdrawWindow().

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

interface to the X11 library function XDestroyWindow().

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

interface to the X11 library function XDestroySubwindows().

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

interface to the X11 library function XSetWindowBorder().

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

interface to the X11 library function XSetWindowBorderPixmap().

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

interface to the X11 library function XSetWindowBorderWidth().

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

interface to the X11 library function XSetWindowBackground().

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

interface to the X11 library function XSetWindowBackgroundPixmap().

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

interface to the X11 library function XSetWindowColormap().

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

interface to the X11 library function XAddToSaveSet().

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

interface to the X11 library function XRemoveFromSaveSet().

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

interface to the X11 library function XChangeSaveSet().

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

interface to the X11 library function XClearWindow().

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

interface to the X11 library function XClearArea().

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

interface to the X11 library function XRestackWindows().