1Gtk2::Pango::AttrList(3U)ser Contributed Perl DocumentatiGotnk2::Pango::AttrList(3)
2
3
4

NAME

6       Gtk2::Pango::AttrList
7

DESCRIPTION

9       Gtk2::Pango::AttrList is a collection of Gtk2::Pango::Attributes.
10       These attributes annotate text with styles.
11

HIERARCHY

13         Glib::Boxed
14         +----Gtk2::Pango::AttrList
15

METHODS

17   attrlist = Gtk2::Pango::AttrList->new
18   $list->change ($attr)
19           ·   $attr (Gtk2::Pango::Attribute)
20
21   attrlist or undef = $list->filter ($func, $data=undef)
22           ·   $func (scalar)
23
24           ·   $data (scalar)
25
26           Since: pango 1.2
27
28   $list->insert ($attr)
29           ·   $attr (Gtk2::Pango::Attribute)
30
31   $list->insert_before ($attr)
32           ·   $attr (Gtk2::Pango::Attribute)
33
34   attriterator = $list->get_iterator
35   ($attr_list, $text, $accel_char) = Gtk2::Pango->parse_markup ($markup_text,
36       $accel_marker)
37           ·   $markup_text (string)
38
39           ·   $accel_marker (character)
40
41           Parses marked-up text to create a plaintext string and an attribute
42           list.
43
44           If $accel_marker is supplied and nonzero, the given character will
45           mark the character following it as an accelerator.  For example,
46           the accel marker might be an ampersand or underscore.  All
47           characters marked as an acclerator will receive a
48           PANGO_UNDERLINE_LOW attribute, and the first character so marked
49           will be returned in $accel_char.  Two $accel_marker characters
50           following each other reduce to a single literal $accel_marker
51           character.
52
53           May croak with a Glib::Error in $@ on failure.
54
55   $list->splice ($other, $pos, $len)
56           ·   $other (Gtk2::Pango::AttrList)
57
58           ·   $pos (integer)
59
60           ·   $len (integer)
61

SEE ALSO

63       Gtk2, Glib::Boxed
64
66       Copyright (C) 2003-2008 by the gtk2-perl team.
67
68       This software is licensed under the LGPL.  See Gtk2 for a full notice.
69
70
71
72perl v5.12.0                      2010-05-02          Gtk2::Pango::AttrList(3)
Impressum