Gtk2::Pango::AttrList(User Contributed Perl DocumentatGtk2::Pango::AttrList(3)NAMEGtk2::Pango::AttrListHIERARCHY
Glib::Boxed
+----Gtk2::Pango::AttrList
METHODS
($attr_list, $text, $accel_char) = Gtk2::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.
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 acclerator 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 a Glib::Error in $@ on failure.
SEE ALSO
Gtk2, Glib::Boxed
COPYRIGHT
Copyright (C) 2003-2006 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.10.0 2008-08-29 Gtk2::Pango::AttrList(3)