Gtk2Hs
Source code
Contents
Index
Graphics.UI.Gtk.Pango.Enums
Portability
portable (depends on GHC)
Stability
provisional
Maintainer
gtk2hs-users@lists.sourceforge.net
Description
Enumerations for describing font characteristics.
Synopsis
data
FontStyle
=
StyleNormal
|
StyleOblique
|
StyleItalic
data
Weight
=
WeightUltralight
|
WeightLight
|
WeightNormal
|
WeightSemibold
|
WeightBold
|
WeightUltrabold
|
WeightHeavy
data
Variant
=
VariantNormal
|
VariantSmallCaps
data
Stretch
=
StretchUltraCondensed
|
StretchExtraCondensed
|
StretchCondensed
|
StretchSemiCondensed
|
StretchNormal
|
StretchSemiExpanded
|
StretchExpanded
|
StretchExtraExpanded
|
StretchUltraExpanded
data
Underline
=
UnderlineNone
|
UnderlineSingle
|
UnderlineDouble
|
UnderlineLow
|
UnderlineError
data
EllipsizeMode
=
EllipsizeNone
|
EllipsizeStart
|
EllipsizeMiddle
|
EllipsizeEnd
Documentation
data
FontStyle
The style of a font.
StyleOblique
is a slanted font like
StyleItalic
, but in a roman style.
Constructors
StyleNormal
StyleOblique
StyleItalic
Instances
Enum
FontStyle
Eq
FontStyle
Show
FontStyle
data
Weight
Define attributes for FontWeight.
Constructors
WeightUltralight
WeightLight
WeightNormal
WeightSemibold
WeightBold
WeightUltrabold
WeightHeavy
Instances
Enum
Weight
Eq
Weight
Show
Weight
data
Variant
The variant of a font.
The
VariantSmallCaps
is a version of a font where lower case letters are shown as physically smaller upper case letters.
Constructors
VariantNormal
VariantSmallCaps
Instances
Enum
Variant
Eq
Variant
Show
Variant
data
Stretch
Define how wide characters are.
Constructors
StretchUltraCondensed
StretchExtraCondensed
StretchCondensed
StretchSemiCondensed
StretchNormal
StretchSemiExpanded
StretchExpanded
StretchExtraExpanded
StretchUltraExpanded
Instances
Enum
Stretch
Eq
Stretch
Show
Stretch
data
Underline
Define attributes for FontUnderline.
The squiggly underline for errors is only available in Gtk 2.4 and higher.
Constructors
UnderlineNone
UnderlineSingle
UnderlineDouble
UnderlineLow
UnderlineError
Instances
Enum
Underline
Eq
Underline
Show
Underline
data
EllipsizeMode
The
EllipsizeMode
type describes what sort of (if any) ellipsization should be applied to a line of text. In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis.
Constructors
EllipsizeNone
EllipsizeStart
EllipsizeMiddle
EllipsizeEnd
Instances
Enum
EllipsizeMode
Eq
EllipsizeMode
Produced by
Haddock
version 0.7