Source codeContentsIndex
Cursor
Description
Basic types and classes associated with the mouse cursor.
Synopsis
data GUIVALUE = GUIVALUE Generator String
class (Show a, Read a) => GUIValue a where
cdefault :: a
toGUIValue :: a -> GUIVALUE
maybeGUIValue :: GUIVALUE -> Maybe a
fromGUIValue :: GUIVALUE -> a
data Colour
class CursorDesignator ch where
toCursor :: ch -> Cursor
newtype Cursor = Cursor String
data XCursor = XCursor String (Maybe Colour) (Maybe Colour)
data BCursor = BCursor String (Maybe String) Colour (Maybe Colour)
arrow :: Cursor
circle :: Cursor
clock :: Cursor
diamondCross :: Cursor
dot :: Cursor
drapedBox :: Cursor
exchange :: Cursor
fleur :: Cursor
gobbler :: Cursor
gumby :: Cursor
hand1 :: Cursor
hand2 :: Cursor
pencil :: Cursor
plus :: Cursor
spraycan :: Cursor
tcross :: Cursor
watch :: Cursor
xterm :: Cursor
Documentation
data GUIVALUE
Constructors
GUIVALUE Generator String
Instances
GUIValue GUIVALUE
Read GUIVALUE
Show GUIVALUE
class (Show a, Read a) => GUIValue a where
Methods
cdefault :: a
toGUIValue :: a -> GUIVALUE
maybeGUIValue :: GUIVALUE -> Maybe a
fromGUIValue :: GUIVALUE -> a
Instances
GUIValue Colour
GUIValue Cursor
GUIValue WrapMode
GUIValue GrabStatus
GUIValue FocusModel
GUIValue Font
GUIValue XFont
GUIValue FontWeight
GUIValue FontFamily
GUIValue FontSlant
GUIValue FontWidth
GUIValue FontSpacing
GUIValue WidgetName
GUIValue GUIVALUE
GUIValue ()
GUIValue RawData
GUIValue [Char]
GUIValue [[Char]]
GUIValue TkCommand
GUIValue Bool
GUIValue Int
GUIValue Double
(GUIValue a, GUIValue b) => GUIValue (a, b)
GUIValue (Distance, Distance)
GUIValue (Distance, Distance, Distance, Distance)
GUIValue [(Distance, Distance)]
GUIValue Distance
GUIValue [Distance]
GUIValue EndOfText
GUIValue BaseIndex
GUIValue LabelSide
GUIValue ArrowHead
GUIValue CapStyle
GUIValue JoinStyle
GUIValue SelectMode
GUIValue Gravity
GUIValue ColourMode
GUIValue State
GUIValue Justify
GUIValue Relief
GUIValue Orientation
GUIValue Toggle
GUIValue Alignment
GUIValue Anchor
GUIValue VisualClass
GUIValue (Fraction, Fraction)
GUIValue ScrollBarElem
GUIValue ScrollUnit
GUIValue WindowState
GUIValue AspectRatio
GUIValue Whom
GUIValue XSelection
data Colour
class CursorDesignator ch where
Datatypes that describe cursors instantiate the class CursorDesignator.
Methods
toCursor :: ch -> Cursor
Internal.
Instances
CursorDesignator Cursor
CursorDesignator XCursor
CursorDesignator BCursor
CursorDesignator String
CursorDesignator (String, Colour)
CursorDesignator (String, Colour, Colour)
CursorDesignator ([Char], [Char], Colour, Colour)
newtype Cursor
The general Cursor datatype.
Constructors
Cursor String
Instances
CursorDesignator Cursor
GUIValue Cursor
Read Cursor
Show Cursor
data XCursor
The XCursor dataype for predefined X cursors.
Constructors
XCursor String (Maybe Colour) (Maybe Colour)
Instances
CursorDesignator XCursor
Show XCursor
data BCursor
The BCursor datatype for bitmap cursors.
Constructors
BCursor String (Maybe String) Colour (Maybe Colour)
Instances
CursorDesignator BCursor
Show BCursor
arrow :: Cursor
circle :: Cursor
A standard X cursor.
clock :: Cursor
A standard X cursor.
diamondCross :: Cursor
A standard X cursor.
dot :: Cursor
A standard X cursor.
drapedBox :: Cursor
A standard X cursor.
exchange :: Cursor
A standard X cursor.
fleur :: Cursor
A standard X cursor.
gobbler :: Cursor
A standard X cursor.
gumby :: Cursor
A standard X cursor.
hand1 :: Cursor
A standard X cursor.
hand2 :: Cursor
A standard X cursor.
pencil :: Cursor
A standard X cursor.
plus :: Cursor
A standard X cursor.
spraycan :: Cursor
A standard X cursor.
tcross :: Cursor
A standard X cursor.
watch :: Cursor
A standard X cursor.
xterm :: Cursor
A standard X cursor.
Produced by Haddock version 0.3