man Gtk2::Pango::FontDescription () - Gtk2::Pango::FontDescription

NAME

Gtk2::Pango::FontDescription

HIERARCHY

  Glib::Boxed
  +----Gtk2::Pango::FontDescription

METHODS

fontdescription = Gtk2::Pango::FontDescription->new

double = Gtk2::Pango->PANGO_PIXELS ($d)

$desc->set_absolute_size ($size)

$desc->set_family ($family)

$desc->set_family_static ($family)

fontdescription = Gtk2::Pango::FontDescription->from_string ($str)

double = Gtk2::Pango->pixels ($d)

double = Gtk2::Pango->scale

double = Gtk2::Pango->scale_large

double = Gtk2::Pango->scale_medium

double = Gtk2::Pango->scale_small

double = Gtk2::Pango->scale_x_large

double = Gtk2::Pango->scale_x_small

double = Gtk2::Pango->scale_xx_large

double = Gtk2::Pango->scale_xx_small

$desc->set_size ($size)

$desc->set_stretch ($stretch)

$desc->set_style ($style)

$desc->unset_fields ($to_unset)

$desc->set_variant ($variant)

$desc->set_weight ($weight)

ENUMS AND FLAGS

flags Gtk2::Pango::FontMask

* 'family' / 'PANGO_FONT_MASK_FAMILY'
* 'style' / 'PANGO_FONT_MASK_STYLE'
* 'variant' / 'PANGO_FONT_MASK_VARIANT'
* 'weight' / 'PANGO_FONT_MASK_WEIGHT'
* 'stretch' / 'PANGO_FONT_MASK_STRETCH'
* 'size' / 'PANGO_FONT_MASK_SIZE'

enum Gtk2::Pango::Stretch

* 'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'
* 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'
* 'condensed' / 'PANGO_STRETCH_CONDENSED'
* 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'
* 'normal' / 'PANGO_STRETCH_NORMAL'
* 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'
* 'expanded' / 'PANGO_STRETCH_EXPANDED'
* 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'
* 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'

enum Gtk2::Pango::Style

* 'normal' / 'PANGO_STYLE_NORMAL'
* 'oblique' / 'PANGO_STYLE_OBLIQUE'
* 'italic' / 'PANGO_STYLE_ITALIC'

enum Gtk2::Pango::Variant

* 'normal' / 'PANGO_VARIANT_NORMAL'
* 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'

enum Gtk2::Pango::Weight

* 'ultralight' / 'PANGO_WEIGHT_ULTRALIGHT'
* 'light' / 'PANGO_WEIGHT_LIGHT'
* 'normal' / 'PANGO_WEIGHT_NORMAL'
* 'semibold' / 'PANGO_WEIGHT_SEMIBOLD'
* 'bold' / 'PANGO_WEIGHT_BOLD'
* 'ultrabold' / 'PANGO_WEIGHT_ULTRABOLD'
* 'heavy' / 'PANGO_WEIGHT_HEAVY'

SEE ALSO

Gtk2, Glib::Boxed

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.