X11-1.9: A binding to the X11 graphics library

Copyright(c) Alastair Reid 1999-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Graphics.X11.Types

Contents

Description

A collection of type declarations for interfacing with X11.

Synopsis

Documentation

type XID = Word64 #

type Mask = Word64 #

type Atom = Word64 #

type Time = Word64 #

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 = Word64 #

type RRMode = Word64 #

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