Pango::AttrIterator(3) used to represent iterators through Pango::AttrLists

HIERARCHY

  Glib::Boxed
  +----Pango::AttrIterator

METHODS

list = $iterator->get_attrs

Since: pango 1.2

($desc, $lang, $extra_attrs) = $iterator->get_font

attribute or undef = $iterator->get ($type)

  • $type (Pango::AttrType)

boolean = $iterator->next

(start, end) = $iterator->range

ENUMS AND FLAGS

enum Pango::AttrType

  • 'invalid' / 'PANGO_ATTR_INVALID'
  • 'language' / 'PANGO_ATTR_LANGUAGE'
  • 'family' / 'PANGO_ATTR_FAMILY'
  • 'style' / 'PANGO_ATTR_STYLE'
  • 'weight' / 'PANGO_ATTR_WEIGHT'
  • 'variant' / 'PANGO_ATTR_VARIANT'
  • 'stretch' / 'PANGO_ATTR_STRETCH'
  • 'size' / 'PANGO_ATTR_SIZE'
  • 'font-desc' / 'PANGO_ATTR_FONT_DESC'
  • 'foreground' / 'PANGO_ATTR_FOREGROUND'
  • 'background' / 'PANGO_ATTR_BACKGROUND'
  • 'underline' / 'PANGO_ATTR_UNDERLINE'
  • 'strikethrough' / 'PANGO_ATTR_STRIKETHROUGH'
  • 'rise' / 'PANGO_ATTR_RISE'
  • 'shape' / 'PANGO_ATTR_SHAPE'
  • 'scale' / 'PANGO_ATTR_SCALE'
  • 'fallback' / 'PANGO_ATTR_FALLBACK'
  • 'letter-spacing' / 'PANGO_ATTR_LETTER_SPACING'
  • 'underline-color' / 'PANGO_ATTR_UNDERLINE_COLOR'
  • 'strikethrough-color' / 'PANGO_ATTR_STRIKETHROUGH_COLOR'
  • 'absolute-size' / 'PANGO_ATTR_ABSOLUTE_SIZE'
  • 'gravity' / 'PANGO_ATTR_GRAVITY'
  • 'gravity-hint' / 'PANGO_ATTR_GRAVITY_HINT'
  • 'font-features' / 'PANGO_ATTR_FONT_FEATURES'
  • 'foreground-alpha' / 'PANGO_ATTR_FOREGROUND_ALPHA'
  • 'background-alpha' / 'PANGO_ATTR_BACKGROUND_ALPHA'

COPYRIGHT

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

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