HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

ModuleX11-1.10.3Haskell98

Graphics.X11.Types

A collection of type declarations for interfacing with X11.

Contents
  1. Enumeration types
  2. Key symbols
  3. Event masks
  4. Event types
  5. Modifiers
  6. Key masks
  7. Button masks
  8. Buttons
  9. Notify modes
  10. Notify details
  11. Visibility
  12. Place of window
  13. Protocols
  14. Property notification
  15. Colormap notification
  16. Grab modes
  17. Grab status
  18. Allow events
  19. Focus modes
  20. Error codes
  21. Return status
  22. WindowClass
  23. Attribute masks
  24. Close down modes
  25. QueryBestSize classes
  26. Graphics functions
  27. Line styles
  28. Cap styles
  29. Join styles
  30. Fill styles
  31. Fill rules
  32. Subwindow modes
  33. Coordinate modes
  34. Polygon shapes
  35. Arc modes
  36. GC masks
  37. Circulation direction
  38. Byte order
  39. ColormapAlloc
  40. Mapping requests
  41. ChangeSaveSetMode
  42. Bit gravity
  43. Window gravity
  44. Backing store
  45. Font direction
  46. Image format
  47. Reflection and Rotation
Synopsis
  • PackageX11-1.10.3
  • Exports714
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceTypes.hsc

Enumeration types

These types were introduced to make function types clearer. Note that the types are synonyms for Int, so no extra typesafety was obtained.

Key symbols

Event masks

Event types

Modifiers

Key masks

Button masks

Buttons

Notify modes

Notify details

Visibility

Place of window

typetype Place = CInt

Place of window relative to siblings (used in Circulation requests or events)

Protocols

Property notification

Colormap notification

Grab modes

Grab status

Allow events

Focus modes

Error codes

valuebadGC :: ErrorCode

Xlib functions with return values of type Status return zero on failure and nonzero on success.

Return status

WindowClass

Attribute masks

Close down modes

QueryBestSize classes

Graphics functions

Line styles

Cap styles

Join styles

Fill styles

Fill rules

Subwindow modes

Coordinate modes

Polygon shapes

Arc modes

GC masks

Circulation direction

Byte order

ColormapAlloc

Mapping requests

ChangeSaveSetMode

Bit gravity

Window gravity

Backing store

Font direction

Image format

Reflection and Rotation