Pango::AttrList(3)
β¨ NAME β¨
bestie, welcome to the Pango::AttrList(3) page π β manual name: User Contributed Perl Documentation. This is literally the wrapper for PangoAttrList, no cap.
πΈ DESCRIPTION πΈ
Pango::AttrList is a collection of Pango::Attributes. These attributes annotate text with styles β think little style stickers for your text, and yes, they ate π
.
π¦ HIERARCHY π¦
Glib::Boxed
+----Pango::AttrList
π METHODS π
πͺ new
attrlist = Pango::AttrList->new
πͺ change
$list->change ($attr)
$attr(Pango::Attribute) β the attribute you're handing over, bestie.
πͺ filter
attrlist or undef = $list->filter ($func, $data=undef)
$func(scalar)$data(scalar)
Since: pango 1.2
πͺ insert
$list->insert ($attr)
$attr(Pango::Attribute)
πͺ insert_before
$list->insert_before ($attr)
$attr(Pango::Attribute)
πͺ get_iterator
attriterator = $list->get_iterator
πͺ parse_markup
($attr_list, $text, $accel_char) = Pango->parse_markup ($markup_text,
$accel_marker)
$markup_text(string)$accel_marker(character)
Parses marked-up text to create a plaintext string and an attribute list. Iconic behavior, honestly β¨.
If $accel_marker is supplied and nonzero, the given character will mark the character following it as an accelerator. For example, the accel marker might be an ampersand or underscore. All characters marked as an accelerator will receive a PANGO_UNDERLINE_LOW attribute, and the first character so marked will be returned in $accel_char. Two $accel_marker characters following each other reduce to a single literal $accel_marker character.
May croak with aGlib::Errorin$@on failure. So like, handle failure, bestie π.
πͺ splice
$list->splice ($other, $pos, $len)
$other(Pango::AttrList)$pos(integer)$len(integer)
π₯ SEE ALSO π₯
PangoGlib::Boxed
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Pango for a full notice.
okay that's the whole page, bestie π footer check: perl v5.42.0, dated 2019-09-16 β byeee π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms