wx-0.10.2: wxHaskellSource codeContentsIndex
Graphics.UI.WX.Types
Contents
Basic Types
Objects
Identifiers
Mutable variables
Bits
Booleans
Misc.
Graphical types
Colors
System colors
Font
Brush
Pen
Geometrical types
Points
Sizes
Vectors
Rectangles
IO Control
Description
Synopsis
feed :: a -> (a -> b) -> b
feed2 :: a -> b -> (a -> b -> c) -> c
class Eq b => BitMask b where
assocBitMask :: [(b, Int)]
toBitMask :: b -> Int
fromBitMask :: Int -> b
setBitMask :: b -> Int -> Int
mask :: BitMask b => [b] -> Int
Basic Types
Objects
feed :: a -> (a -> b) -> bSource
Inverse application, i.e. feed x f = f x.
feed2 :: a -> b -> (a -> b -> c) -> cSource
Composed Inverse application, i.e. feed2 x y f = f x y.
Identifiers
Mutable variables
Bits
class Eq b => BitMask b whereSource
Data types that can be represented through a bit mask. Only the assocBitMask method is required for a new instance.
Methods
assocBitMask :: [(b, Int)]Source
Give the association between the constructors and the bits. If a constructor corresponds to no bits set, it should come as the last element.
toBitMask :: b -> IntSource
Convert to a bitmask
fromBitMask :: Int -> bSource
Convert from a bitmask
setBitMask :: b -> Int -> IntSource
Set the correct bits corresponding to a constructor in a mask.
show/hide Instances
mask :: BitMask b => [b] -> IntSource
Create a bitmask from a list of types.
Booleans
Misc.
Graphical types
Colors
System colors
Font
Brush
Pen
Geometrical types
Points
Sizes
Vectors
Rectangles
IO Control
Produced by Haddock version 2.1.0