Gtk2HsContentsIndex
Graphics.UI.Gtk.Pango.Enums
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-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.

Constructors
StyleNormal
StyleOblique
StyleItalic
show/hide Instances
data Weight
Define attributes for Weight.
Constructors
WeightUltralight
WeightLight
WeightNormal
WeightSemibold
WeightBold
WeightUltrabold
WeightHeavy
show/hide Instances
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
show/hide Instances
data Stretch
Define how wide characters are.
Constructors
StretchUltraCondensed
StretchExtraCondensed
StretchCondensed
StretchSemiCondensed
StretchNormal
StretchSemiExpanded
StretchExpanded
StretchExtraExpanded
StretchUltraExpanded
show/hide Instances
data Underline

Define attributes for Underline.

  • The squiggly underline for errors is only available in Gtk 2.4 and higher.
Constructors
UnderlineNone
UnderlineSingle
UnderlineDouble
UnderlineLow
UnderlineError
show/hide Instances
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
show/hide Instances
Produced by Haddock version 0.8