ยค PixmapId, FontId, et al

Resource identifiers

Types

data PixmapId = PixmapId XID
instance Eq PixmapId
instance Ord PixmapId
instance Read PixmapId
instance Show PixmapId

data FontId = FontId XID
instance Eq FontId
instance Ord FontId
instance Read FontId
instance Show FontId

data GCId = GCId Int
instance Eq GCId
instance Ord GCId
instance Read GCId
instance Show GCId

rootGC :: GCId
data CursorId = CursorId XID
instance Eq CursorId
instance Ord CursorId
instance Read CursorId
instance Show CursorId

data ColormapId = ColormapId XID
instance Eq ColormapId
instance Ord ColormapId
instance Read ColormapId
instance Show ColormapId

defaultColormap :: ColormapId
data Atom = Atom Int
instance Eq Atom
instance Ord Atom
instance Read Atom
instance Show Atom

type Window = WindowId

data WindowId = WindowId XID
instance Eq WindowId
instance Ord WindowId
instance Read WindowId
instance Show WindowId

data VisualID = VisualID Int
instance Eq VisualID
instance Read VisualID
instance Show VisualID

Description

Values of these types are references to objects stored in the X server. Their meaning is not defined within the Fudget library.

See Also

The Xlib Programming Manual .

Bugs

These should really be abstract types.