X11-1.6.1.1: A binding to the X11 graphics library

Portabilityportable
Stabilityprovisional
Maintainerlibraries@haskell.org
Safe HaskellSafe-Inferred

Graphics.X11.Types

Contents

Description

A collection of type declarations for interfacing with X11.

Synopsis

Documentation

type XID = Word32

type Mask = Word32

type Atom = Word32

type Time = Word32

type Window = XID

type Drawable = XID

type Font = XID

type Pixmap = XID

type Cursor = XID

type Colormap = XID

type GContext = XID

type KeyCode = Word8

type SizeID = Word16

type RRCrtc = Word32

type RRMode = Word32

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

type KeySym = XID

Event masks

Event types

Modifiers

Key masks

Button masks

Buttons

type Button = Word32

Notify modes

Notify details

Visibility

Place of window

type Place = CInt

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

Protocols

type Protocol = CInt

Property notification

Colormap notification

Grab modes

type GrabMode = CInt

Grab status

Allow events

Focus modes

Error codes

badGC :: ErrorCode

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

Return status

type Status = CInt

WindowClass

Attribute masks

Close down modes

QueryBestSize classes

Graphics functions

Line styles

Cap styles

type CapStyle = CInt

Join styles

Fill styles

Fill rules

type FillRule = CInt

Subwindow modes

Coordinate modes

Polygon shapes

Arc modes

type ArcMode = CInt

GC masks

type GCMask = CInt

Circulation direction

Byte order

ColormapAlloc

Mapping requests

ChangeSaveSetMode

Bit gravity

Window gravity

Backing store

Font direction

Image format

Reflection and Rotation