.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Pango::AttrList 3pm" .TH Pango::AttrList 3pm "2020-11-09" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Pango::AttrList \- holds attributes that apply to a section of text .SH "DESCRIPTION" .IX Header "DESCRIPTION" Pango::AttrList is a collection of Pango::Attributes. These attributes annotate text with styles. .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 2 \& Glib::Boxed \& +\-\-\-\-Pango::AttrList .Ve .SH "METHODS" .IX Header "METHODS" .SS "attrlist = Pango::AttrList\->\fBnew\fP" .IX Subsection "attrlist = Pango::AttrList->new" .ie n .SS "$list\->\fBchange\fP ($attr)" .el .SS "\f(CW$list\fP\->\fBchange\fP ($attr)" .IX Subsection "$list->change ($attr)" .IP "\(bu" 4 \&\f(CW$attr\fR (Pango::Attribute) .ie n .SS "attrlist or undef = $list\->\fBfilter\fP ($func, $data=undef)" .el .SS "attrlist or undef = \f(CW$list\fP\->\fBfilter\fP ($func, \f(CW$data\fP=undef)" .IX Subsection "attrlist or undef = $list->filter ($func, $data=undef)" .IP "\(bu" 4 \&\f(CW$func\fR (scalar) .IP "\(bu" 4 \&\f(CW$data\fR (scalar) .PP Since: pango 1.2 .ie n .SS "$list\->\fBinsert\fP ($attr)" .el .SS "\f(CW$list\fP\->\fBinsert\fP ($attr)" .IX Subsection "$list->insert ($attr)" .IP "\(bu" 4 \&\f(CW$attr\fR (Pango::Attribute) .ie n .SS "$list\->\fBinsert_before\fP ($attr)" .el .SS "\f(CW$list\fP\->\fBinsert_before\fP ($attr)" .IX Subsection "$list->insert_before ($attr)" .IP "\(bu" 4 \&\f(CW$attr\fR (Pango::Attribute) .ie n .SS "attriterator = $list\->\fBget_iterator\fP" .el .SS "attriterator = \f(CW$list\fP\->\fBget_iterator\fP" .IX Subsection "attriterator = $list->get_iterator" .ie n .SS "($attr_list, $text, $accel_char) = Pango\->\fBparse_markup\fP ($markup_text, $accel_marker)" .el .SS "($attr_list, \f(CW$text\fP, \f(CW$accel_char\fP) = Pango\->\fBparse_markup\fP ($markup_text, \f(CW$accel_marker\fP)" .IX Subsection "($attr_list, $text, $accel_char) = Pango->parse_markup ($markup_text, $accel_marker)" .IP "\(bu" 4 \&\f(CW$markup_text\fR (string) .IP "\(bu" 4 \&\f(CW$accel_marker\fR (character) .PP Parses marked-up text to create a plaintext string and an attribute list. .PP If \fI\f(CI$accel_marker\fI\fR 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 \s-1PANGO_UNDERLINE_LOW\s0 attribute, and the first character so marked will be returned in \fI\f(CI$accel_char\fI\fR. Two \fI\f(CI$accel_marker\fI\fR characters following each other reduce to a single literal \fI\f(CI$accel_marker\fI\fR character. .PP May croak with a Glib::Error in $@ on failure. .ie n .SS "$list\->\fBsplice\fP ($other, $pos, $len)" .el .SS "\f(CW$list\fP\->\fBsplice\fP ($other, \f(CW$pos\fP, \f(CW$len\fP)" .IX Subsection "$list->splice ($other, $pos, $len)" .IP "\(bu" 4 \&\f(CW$other\fR (Pango::AttrList) .IP "\(bu" 4 \&\f(CW$pos\fR (integer) .IP "\(bu" 4 \&\f(CW$len\fR (integer) .SH "SEE ALSO" .IX Header "SEE ALSO" Pango, Glib::Boxed .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL.\s0 See Pango for a full notice.