X11-1.6.1.1: A binding to the X11 graphics library

Portability | portable
Stability | provisional
Maintainer | libraries@haskell.org
Safe Haskell | None

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 Source

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

blackPixel :: Display -> ScreenNumber -> Pixel Source

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

whitePixel :: Display -> ScreenNumber -> Pixel Source

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

connectionNumber :: Display -> CInt Source

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

defaultColormap :: Display -> ScreenNumber -> Colormap Source

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

defaultGC :: Display -> ScreenNumber -> GC Source

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

defaultDepth :: Display -> ScreenNumber -> CInt Source

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

defaultScreen :: Display -> ScreenNumber Source

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

defaultScreenOfDisplay :: Display -> Screen Source

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

displayHeight :: Display -> ScreenNumber -> CInt Source

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

displayHeightMM :: Display -> ScreenNumber -> CInt Source

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

displayWidth :: Display -> ScreenNumber -> CInt Source

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

displayWidthMM :: Display -> ScreenNumber -> CInt Source

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

maxRequestSize :: Display -> CInt Source

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

displayMotionBufferSize :: Display -> CInt Source

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

resourceManagerString :: Display -> String Source

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

screenResourceString :: Screen -> String Source

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

displayString :: Display -> String Source

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

imageByteOrder :: Display -> CInt Source

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

protocolRevision :: Display -> CInt Source

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

protocolVersion :: Display -> CInt Source

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

serverVendor :: Display -> String Source

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

screenCount :: Display -> CInt Source

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

defaultVisual :: Display -> ScreenNumber -> Visual Source

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

displayCells :: Display -> ScreenNumber -> CInt Source

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

displayPlanes :: Display -> ScreenNumber -> CInt Source

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

screenOfDisplay :: Display -> ScreenNumber -> Screen Source

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

defaultRootWindow :: Display -> Window Source

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

rootWindow :: Display -> ScreenNumber -> IO Window Source

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

qLength :: Display -> IO CInt Source

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

noOp :: Display -> IO ()Source

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

openDisplay :: String -> IO Display Source

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

closeDisplay :: Display -> IO ()Source

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