=head1 NAME

Gtk2::Pango::AttrList

=for position DESCRIPTION

=head1 DESCRIPTION

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

=cut



=head1 HIERARCHY

  Glib::Boxed
  +----Gtk2::Pango::AttrList

=for object Gtk2::Pango::AttrList
=cut




=head1 METHODS

=head2 attrlist = Gtk2::Pango::AttrList-E<gt>B<new> 

=over

=back

=head2 $list-E<gt>B<change> ($attr)

=over

=over

=item * $attr (Gtk2::Pango::Attribute) 

=back

=back

=head2 attrlist or undef = $list-E<gt>B<filter> ($func, $data=undef)

=over

=over

=item * $func (scalar) 

=item * $data (scalar) 

=back

Since: pango 1.2

=back

=head2 $list-E<gt>B<insert> ($attr)

=over

=over

=item * $attr (Gtk2::Pango::Attribute) 

=back

=back

=head2 $list-E<gt>B<insert_before> ($attr)

=over

=over

=item * $attr (Gtk2::Pango::Attribute) 

=back

=back

=head2 attriterator = $list-E<gt>B<get_iterator> 

=over

=back

=head2 ($attr_list, $text, $accel_char) = Gtk2::Pango->B<parse_markup> ($markup_text, $accel_marker)

=over

=over

=item * $markup_text (string) 

=item * $accel_marker (character) 

=back

Parses marked-up text to create a plaintext string and an attribute list.

If I<$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 acclerator will
receive a PANGO_UNDERLINE_LOW attribute, and the first character so marked will
be returned in I<$accel_char>.  Two I<$accel_marker> characters following each
other reduce to a single literal I<$accel_marker> character.

May croak with a L<Glib::Error> in $@ on failure.

=back

=head2 $list-E<gt>B<splice> ($other, $pos, $len)

=over

=over

=item * $other (Gtk2::Pango::AttrList) 

=item * $pos (integer) 

=item * $len (integer) 

=back

=back


=head1 SEE ALSO

L<Gtk2>, L<Glib::Boxed>

=head1 COPYRIGHT

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

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


=cut

