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.Screen

Description

A collection of FFI declarations for interfacing with Xlib Screens.

Synopsis

- blackPixelOfScreen :: Screen -> Pixel
- whitePixelOfScreen :: Screen -> Pixel
- cellsOfScreen :: Screen -> CInt
- defaultColormapOfScreen :: Screen -> Colormap
- defaultDepthOfScreen :: Screen -> CInt
- defaultGCOfScreen :: Screen -> GC
- defaultVisualOfScreen :: Screen -> Visual
- doesBackingStore :: Screen -> Bool
- doesSaveUnders :: Screen -> Bool
- displayOfScreen :: Screen -> Display
- eventMaskOfScreen :: Screen -> EventMask
- minCmapsOfScreen :: Screen -> CInt
- maxCmapsOfScreen :: Screen -> CInt
- rootWindowOfScreen :: Screen -> Window
- widthOfScreen :: Screen -> Dimension
- widthMMOfScreen :: Screen -> Dimension
- heightOfScreen :: Screen -> Dimension
- heightMMOfScreen :: Screen -> Dimension
- planesOfScreen :: Screen -> CInt
- screenNumberOfScreen :: Screen -> ScreenNumber

# Documentation

blackPixelOfScreen :: Screen -> Pixel

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

whitePixelOfScreen :: Screen -> Pixel

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

cellsOfScreen :: Screen -> CInt

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

defaultColormapOfScreen :: Screen -> Colormap

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

defaultDepthOfScreen :: Screen -> CInt

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

defaultGCOfScreen :: Screen -> GC

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

defaultVisualOfScreen :: Screen -> Visual

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

doesBackingStore :: Screen -> Bool

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

doesSaveUnders :: Screen -> Bool

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

displayOfScreen :: Screen -> Display

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

eventMaskOfScreen :: Screen -> EventMask

interface to the X11 library function `XEventMaskOfScreen()`. Event mask at connection setup time - not current event mask!

minCmapsOfScreen :: Screen -> CInt

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

maxCmapsOfScreen :: Screen -> CInt

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

rootWindowOfScreen :: Screen -> Window

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

widthOfScreen :: Screen -> Dimension

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

widthMMOfScreen :: Screen -> Dimension

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

heightOfScreen :: Screen -> Dimension

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

heightMMOfScreen :: Screen -> Dimension

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

planesOfScreen :: Screen -> CInt

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

screenNumberOfScreen :: Screen -> ScreenNumber

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