Copyright | (c) Alastair Reid 1999-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
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 () 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()
.
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()
.