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

NAME

6       Gtk2::Pango::AttrList
7

HIERARCHY

9         Glib::Boxed
10         +----Gtk2::Pango::AttrList
11

METHODS

13       ($attr_list, $text, $accel_char) = Gtk2::Pango->parse_markup
14       ($markup_text, $accel_marker)
15
16           * $markup_text (string)
17           * $accel_marker (character)
18
19           Parses marked-up text to create a plaintext string and an attribute
20           list.
21
22           If $accel_marker is supplied and nonzero, the given character will
23           mark the character following it as an accelerator.  For example,
24           the accel marker might be an ampersand or underscore.  All characā€
25           ters marked as an acclerator will receive a PANGO_UNDERLINE_LOW
26           attribute, and the first character so marked will be returned in
27           $accel_char.  Two $accel_marker characters following each other
28           reduce to a single literal $accel_marker character.
29
30           May croak with a Glib::Error in $@ on failure.
31

SEE ALSO

33       Gtk2, Glib::Boxed
34
36       Copyright (C) 2003-2007 by the gtk2-perl team.
37
38       This software is licensed under the LGPL.  See Gtk2 for a full notice.
39
40
41
42perl v5.8.8                       2007-03-18          Gtk2::Pango::AttrList(3)
Impressum