Graphics.X11.Xlib.Display

X11-1.6.1.2: A binding to the X11 graphics library

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 | None
Language | Haskell98

Graphics.X11.Xlib.Display

Description

A collection of FFI declarations for interfacing with Xlib Displays.

Synopsis

- allPlanes_aux :: Pixel
- blackPixel :: Display -> ScreenNumber -> Pixel
- whitePixel :: Display -> ScreenNumber -> Pixel
- connectionNumber :: Display -> CInt
- defaultColormap :: Display -> ScreenNumber -> Colormap
- defaultGC :: Display -> ScreenNumber -> GC
- defaultDepth :: Display -> ScreenNumber -> CInt
- defaultScreen :: Display -> ScreenNumber
- defaultScreenOfDisplay :: Display -> Screen
- displayHeight :: Display -> ScreenNumber -> CInt
- displayHeightMM :: Display -> ScreenNumber -> CInt
- displayWidth :: Display -> ScreenNumber -> CInt
- displayWidthMM :: Display -> ScreenNumber -> CInt
- maxRequestSize :: Display -> CInt
- displayMotionBufferSize :: Display -> CInt
- resourceManagerString :: Display -> String
- screenResourceString :: Screen -> String
- displayString :: Display -> String
- imageByteOrder :: Display -> CInt
- protocolRevision :: Display -> CInt
- protocolVersion :: Display -> CInt
- serverVendor :: Display -> String
- screenCount :: Display -> CInt
- defaultVisual :: Display -> ScreenNumber -> Visual
- displayCells :: Display -> ScreenNumber -> CInt
- displayPlanes :: Display -> ScreenNumber -> CInt
- screenOfDisplay :: Display -> ScreenNumber -> Screen
- defaultRootWindow :: Display -> Window
- rootWindow :: Display -> ScreenNumber -> IO Window
- qLength :: Display -> IO CInt
- noOp :: Display -> IO ()
- openDisplay :: String -> IO Display
- closeDisplay :: Display -> IO ()

# Documentation

allPlanes_aux :: Pixel

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

blackPixel :: Display -> ScreenNumber -> Pixel

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

whitePixel :: Display -> ScreenNumber -> Pixel

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

connectionNumber :: Display -> CInt

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

defaultColormap :: Display -> ScreenNumber -> Colormap

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

defaultGC :: Display -> ScreenNumber -> GC

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

defaultDepth :: Display -> ScreenNumber -> CInt

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

defaultScreen :: Display -> ScreenNumber

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

defaultScreenOfDisplay :: Display -> Screen

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

displayHeight :: Display -> ScreenNumber -> CInt

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

displayHeightMM :: Display -> ScreenNumber -> CInt

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

displayWidth :: Display -> ScreenNumber -> CInt

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

displayWidthMM :: Display -> ScreenNumber -> CInt

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

maxRequestSize :: Display -> CInt

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

displayMotionBufferSize :: Display -> CInt

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

resourceManagerString :: Display -> String

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

screenResourceString :: Screen -> String

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

displayString :: Display -> String

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

imageByteOrder :: Display -> CInt

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

protocolRevision :: Display -> CInt

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

protocolVersion :: Display -> CInt

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

serverVendor :: Display -> String

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

screenCount :: Display -> CInt

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

defaultVisual :: Display -> ScreenNumber -> Visual

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

displayCells :: Display -> ScreenNumber -> CInt

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

displayPlanes :: Display -> ScreenNumber -> CInt

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

screenOfDisplay :: Display -> ScreenNumber -> Screen

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

defaultRootWindow :: Display -> Window

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

rootWindow :: Display -> ScreenNumber -> IO Window

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

qLength :: Display -> IO CInt

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

noOp :: Display -> IO ()

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

openDisplay :: String -> IO Display

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

closeDisplay :: Display -> IO ()

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