~ubuntu-branches/ubuntu/vivid/pango1.0/vivid-proposed

« back to all changes in this revision

Viewing changes to docs/html/pango-Text-Attributes.html

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-03-31 22:00:53 UTC
  • mfrom: (1.8.6) (63.1.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120331220053-7w1irtk74gutqgmi
Tags: 1.30.0-1
* New upstream release.
* debian/watch: Track stable releases again.
* Refreshed and updated patches.
* Bump Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
9
9
<link rel="prev" href="pango-Fonts.html" title="Fonts">
10
10
<link rel="next" href="pango-Tab-Stops.html" title="Tab Stops">
11
 
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
53
53
struct              <a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc">PangoAttrFontDesc</a>;
54
54
struct              <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape">PangoAttrShape</a>;
55
55
struct              <a class="link" href="pango-Text-Attributes.html#PangoAttrSize" title="struct PangoAttrSize">PangoAttrSize</a>;
56
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()">pango_parse_markup</a>                  (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
 
56
<span class="returnvalue">gboolean</span>            <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()">pango_parse_markup</a>                  (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
57
57
                                                         <em class="parameter"><code><span class="type">int</span> length</code></em>,
58
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
 
58
                                                         <em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
59
59
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
60
60
                                                         <em class="parameter"><code><span class="type">char</span> **text</code></em>,
61
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>,
62
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
63
 
<a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a>       <a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()">pango_attr_type_register</a>            (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
 
61
                                                         <em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
 
62
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
63
<a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a>       <a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()">pango_attr_type_register</a>            (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
64
64
const <span class="returnvalue">char</span> *        <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()">pango_attr_type_get_name</a>            (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
65
65
<span class="returnvalue">void</span>                <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()">pango_attribute_init</a>                (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>,
66
66
                                                         <em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass"><span class="type">PangoAttrClass</span></a> *klass</code></em>);
67
67
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attribute-copy" title="pango_attribute_copy ()">pango_attribute_copy</a>                (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
68
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-Text-Attributes.html#pango-attribute-equal" title="pango_attribute_equal ()">pango_attribute_equal</a>               (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
 
68
<span class="returnvalue">gboolean</span>            <a class="link" href="pango-Text-Attributes.html#pango-attribute-equal" title="pango_attribute_equal ()">pango_attribute_equal</a>               (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
69
69
                                                         <em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);
70
70
<span class="returnvalue">void</span>                <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()">pango_attribute_destroy</a>             (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
71
71
 
78
78
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new" title="pango_attr_size_new ()">pango_attr_size_new</a>                 (<em class="parameter"><code><span class="type">int</span> size</code></em>);
79
79
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new-absolute" title="pango_attr_size_new_absolute ()">pango_attr_size_new_absolute</a>        (<em class="parameter"><code><span class="type">int</span> size</code></em>);
80
80
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-font-desc-new" title="pango_attr_font_desc_new ()">pango_attr_font_desc_new</a>            (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
81
 
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-foreground-new" title="pango_attr_foreground_new ()">pango_attr_foreground_new</a>           (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
82
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
83
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);
84
 
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-background-new" title="pango_attr_background_new ()">pango_attr_background_new</a>           (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
85
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
86
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);
87
 
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-new" title="pango_attr_strikethrough_new ()">pango_attr_strikethrough_new</a>        (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strikethrough</code></em>);
88
 
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-color-new" title="pango_attr_strikethrough_color_new ()">pango_attr_strikethrough_color_new</a>  (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
89
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
90
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);
 
81
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-foreground-new" title="pango_attr_foreground_new ()">pango_attr_foreground_new</a>           (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
 
82
                                                         <em class="parameter"><code><span class="type">guint16</span> green</code></em>,
 
83
                                                         <em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
 
84
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-background-new" title="pango_attr_background_new ()">pango_attr_background_new</a>           (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
 
85
                                                         <em class="parameter"><code><span class="type">guint16</span> green</code></em>,
 
86
                                                         <em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
 
87
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-new" title="pango_attr_strikethrough_new ()">pango_attr_strikethrough_new</a>        (<em class="parameter"><code><span class="type">gboolean</span> strikethrough</code></em>);
 
88
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-color-new" title="pango_attr_strikethrough_color_new ()">pango_attr_strikethrough_color_new</a>  (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
 
89
                                                         <em class="parameter"><code><span class="type">guint16</span> green</code></em>,
 
90
                                                         <em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
91
91
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-new" title="pango_attr_underline_new ()">pango_attr_underline_new</a>            (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a> underline</code></em>);
92
 
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-color-new" title="pango_attr_underline_color_new ()">pango_attr_underline_color_new</a>      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
93
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
94
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);
 
92
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-color-new" title="pango_attr_underline_color_new ()">pango_attr_underline_color_new</a>      (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
 
93
                                                         <em class="parameter"><code><span class="type">guint16</span> green</code></em>,
 
94
                                                         <em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
95
95
enum                <a class="link" href="pango-Text-Attributes.html#PangoUnderline-enum" title="enum PangoUnderline">PangoUnderline</a>;
96
96
#define             <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-UNDERLINE:CAPS" title="PANGO_TYPE_UNDERLINE">PANGO_TYPE_UNDERLINE</a>
97
97
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()">pango_attr_shape_new</a>                (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
98
98
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);
99
99
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()">pango_attr_shape_new_with_data</a>      (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
100
100
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
101
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
101
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
102
102
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
103
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);
104
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            (<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()">*PangoAttrDataCopyFunc</a>)            (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
 
103
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);
 
104
<span class="returnvalue">gpointer</span>            (<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()">*PangoAttrDataCopyFunc</a>)            (<em class="parameter"><code><span class="type">gconstpointer</span> data</code></em>);
105
105
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-scale-new" title="pango_attr_scale_new ()">pango_attr_scale_new</a>                (<em class="parameter"><code><span class="type">double</span> scale_factor</code></em>);
106
106
#define             <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-SMALL:CAPS" title="PANGO_SCALE_XX_SMALL">PANGO_SCALE_XX_SMALL</a>
107
107
#define             <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-SMALL:CAPS" title="PANGO_SCALE_X_SMALL">PANGO_SCALE_X_SMALL</a>
112
112
#define             <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-LARGE:CAPS" title="PANGO_SCALE_XX_LARGE">PANGO_SCALE_XX_LARGE</a>
113
113
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-rise-new" title="pango_attr_rise_new ()">pango_attr_rise_new</a>                 (<em class="parameter"><code><span class="type">int</span> rise</code></em>);
114
114
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-letter-spacing-new" title="pango_attr_letter_spacing_new ()">pango_attr_letter_spacing_new</a>       (<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);
115
 
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-fallback-new" title="pango_attr_fallback_new ()">pango_attr_fallback_new</a>             (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable_fallback</code></em>);
 
115
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-fallback-new" title="pango_attr_fallback_new ()">pango_attr_fallback_new</a>             (<em class="parameter"><code><span class="type">gboolean</span> enable_fallback</code></em>);
116
116
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-new" title="pango_attr_gravity_new ()">pango_attr_gravity_new</a>              (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
117
117
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-hint-new" title="pango_attr_gravity_hint_new ()">pango_attr_gravity_hint_new</a>         (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);
118
118
struct              <a class="link" href="pango-Text-Attributes.html#PangoColor-struct" title="struct PangoColor">PangoColor</a>;
119
119
#define             <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-COLOR:CAPS" title="PANGO_TYPE_COLOR">PANGO_TYPE_COLOR</a>
120
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-Text-Attributes.html#pango-color-parse" title="pango_color_parse ()">pango_color_parse</a>                   (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
 
120
<span class="returnvalue">gboolean</span>            <a class="link" href="pango-Text-Attributes.html#pango-color-parse" title="pango_color_parse ()">pango_color_parse</a>                   (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
121
121
                                                         <em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);
122
122
<a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="returnvalue">PangoColor</span></a> *        <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()">pango_color_copy</a>                    (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *src</code></em>);
123
123
<span class="returnvalue">void</span>                <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()">pango_color_free</a>                    (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
124
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="pango-Text-Attributes.html#pango-color-to-string" title="pango_color_to_string ()">pango_color_to_string</a>               (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
 
124
<span class="returnvalue">gchar</span> *             <a class="link" href="pango-Text-Attributes.html#pango-color-to-string" title="pango_color_to_string ()">pango_color_to_string</a>               (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
125
125
 
126
126
                    <a class="link" href="pango-Text-Attributes.html#PangoAttrList-struct" title="PangoAttrList">PangoAttrList</a>;
127
127
#define             <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-LIST:CAPS" title="PANGO_TYPE_ATTR_LIST">PANGO_TYPE_ATTR_LIST</a>
137
137
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
138
138
<span class="returnvalue">void</span>                <a class="link" href="pango-Text-Attributes.html#pango-attr-list-splice" title="pango_attr_list_splice ()">pango_attr_list_splice</a>              (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
139
139
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
140
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>,
141
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);
 
140
                                                         <em class="parameter"><code><span class="type">gint</span> pos</code></em>,
 
141
                                                         <em class="parameter"><code><span class="type">gint</span> len</code></em>);
142
142
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *     <a class="link" href="pango-Text-Attributes.html#pango-attr-list-filter" title="pango_attr_list_filter ()">pango_attr_list_filter</a>              (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
143
143
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
144
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
145
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            (<a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()">*PangoAttrFilterFunc</a>)              (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
146
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
 
144
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
 
145
<span class="returnvalue">gboolean</span>            (<a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()">*PangoAttrFilterFunc</a>)              (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
 
146
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
147
147
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-get-iterator" title="pango_attr_list_get_iterator ()">pango_attr_list_get_iterator</a>        (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
148
148
                    <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator">PangoAttrIterator</a>;
149
149
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-copy" title="pango_attr_iterator_copy ()">pango_attr_iterator_copy</a>            (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
150
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-next" title="pango_attr_iterator_next ()">pango_attr_iterator_next</a>            (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
 
150
<span class="returnvalue">gboolean</span>            <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-next" title="pango_attr_iterator_next ()">pango_attr_iterator_next</a>            (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
151
151
<span class="returnvalue">void</span>                <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-range" title="pango_attr_iterator_range ()">pango_attr_iterator_range</a>           (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
152
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start</code></em>,
153
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end</code></em>);
 
152
                                                         <em class="parameter"><code><span class="type">gint</span> *start</code></em>,
 
153
                                                         <em class="parameter"><code><span class="type">gint</span> *end</code></em>);
154
154
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get" title="pango_attr_iterator_get ()">pango_attr_iterator_get</a>             (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
155
155
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
156
156
<span class="returnvalue">void</span>                <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-font" title="pango_attr_iterator_get_font ()">pango_attr_iterator_get_font</a>        (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
157
157
                                                         <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
158
158
                                                         <em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
159
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **extra_attrs</code></em>);
160
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-attrs" title="pango_attr_iterator_get_attrs ()">pango_attr_iterator_get_attrs</a>       (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
 
159
                                                         <em class="parameter"><code><span class="type">GSList</span> **extra_attrs</code></em>);
 
160
<span class="returnvalue">GSList</span> *            <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-attrs" title="pango_attr_iterator_get_attrs ()">pango_attr_iterator_get_attrs</a>       (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
161
161
<span class="returnvalue">void</span>                <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()">pango_attr_iterator_destroy</a>         (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
162
162
</pre>
163
163
</div>
355
355
<pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
356
356
</pre>
357
357
<p>
358
 
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a>.
 
358
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a>.
359
359
</p>
360
360
</div>
361
361
<hr>
411
411
as their initial portion. The common portion of the attribute holds
412
412
the range to which the value in the type-specific part of the attribute
413
413
applies and should be initialized using <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()"><code class="function">pango_attribute_init()</code></a>.
414
 
By default an attribute will have an all-inclusive range of [0,<a href="http://library.gnome.org/devel/glib/unstable/glib-Limits-of-Basic-Types.html#G-MAXUINT:CAPS"><code class="literal">G_MAXUINT</code></a>].
 
414
By default an attribute will have an all-inclusive range of [0,<code class="literal">G_MAXUINT</code>].
415
415
</p>
416
416
<div class="variablelist"><table border="0">
417
417
<col align="left" valign="top">
421
421
<td>the class structure holding information about the type of the attribute</td>
422
422
</tr>
423
423
<tr>
424
 
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttribute.start-index"></a>start_index</code></em>;</span></p></td>
 
424
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttribute.start-index"></a>start_index</code></em>;</span></p></td>
425
425
<td>the start index of the range (in bytes).</td>
426
426
</tr>
427
427
<tr>
428
 
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttribute.end-index"></a>end_index</code></em>;</span></p></td>
 
428
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttribute.end-index"></a>end_index</code></em>;</span></p></td>
429
429
<td>end index of the range (in bytes). The character at this index
430
430
is not included in the range.</td>
431
431
</tr>
641
641
<td>the logical rectangle to restrict to</td>
642
642
</tr>
643
643
<tr>
644
 
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="PangoAttrShape.data"></a>data</code></em>;</span></p></td>
 
644
<td><p><span class="term"><span class="type">gpointer</span> <em class="structfield"><code><a name="PangoAttrShape.data"></a>data</code></em>;</span></p></td>
645
645
<td>user data set (see <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()"><code class="function">pango_attr_shape_new_with_data()</code></a>)</td>
646
646
</tr>
647
647
<tr>
649
649
<td>copy function for the user data</td>
650
650
</tr>
651
651
<tr>
652
 
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> <em class="structfield"><code><a name="PangoAttrShape.destroy-func"></a>destroy_func</code></em>;</span></p></td>
 
652
<td><p><span class="term"><span class="type">GDestroyNotify</span> <em class="structfield"><code><a name="PangoAttrShape.destroy-func"></a>destroy_func</code></em>;</span></p></td>
653
653
<td>destroy function for the user data</td>
654
654
</tr>
655
655
</tbody>
681
681
<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a>) or of a device uni (for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>)</td>
682
682
</tr>
683
683
<tr>
684
 
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttrSize.absolute"></a>absolute</code></em> : 1;</span></p></td>
 
684
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttrSize.absolute"></a>absolute</code></em> : 1;</span></p></td>
685
685
<td>whether the font size is in device units or points.
686
686
This field is only present for compatibility with Pango-1.8.0
687
687
(<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a> was added in 1.8.1); and always will
688
 
be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a> and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>.</td>
 
688
be <code class="literal">FALSE</code> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a> and <code class="literal">TRUE</code> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>.</td>
689
689
</tr>
690
690
</tbody>
691
691
</table></div>
693
693
<hr>
694
694
<div class="refsect2">
695
695
<a name="pango-parse-markup"></a><h3>pango_parse_markup ()</h3>
696
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_parse_markup                  (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
 
696
<pre class="programlisting"><span class="returnvalue">gboolean</span>            pango_parse_markup                  (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
697
697
                                                         <em class="parameter"><code><span class="type">int</span> length</code></em>,
698
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
 
698
                                                         <em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
699
699
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
700
700
                                                         <em class="parameter"><code><span class="type">char</span> **text</code></em>,
701
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>,
702
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
701
                                                         <em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
 
702
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
703
703
<p>
704
704
Parses marked-up text (see
705
 
<a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>) to create
 
705
<a href="PangoMarkupFormat.html">markup format</a>) to create
706
706
a plain-text string and an attribute list.
707
707
</p>
708
708
<p>
723
723
<tbody>
724
724
<tr>
725
725
<td><p><span class="term"><em class="parameter"><code>markup_text</code></em> :</span></p></td>
726
 
<td>markup to parse (see <a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>)</td>
 
726
<td>markup to parse (see <a href="PangoMarkupFormat.html">markup format</a>)</td>
727
727
</tr>
728
728
<tr>
729
729
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
735
735
</tr>
736
736
<tr>
737
737
<td><p><span class="term"><em class="parameter"><code>attr_list</code></em> :</span></p></td>
738
 
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
738
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
739
739
</td>
740
740
</tr>
741
741
<tr>
742
742
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
743
 
<td>address of return location for text with tags stripped, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
743
<td>address of return location for text with tags stripped, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
744
744
</td>
745
745
</tr>
746
746
<tr>
747
747
<td><p><span class="term"><em class="parameter"><code>accel_char</code></em> :</span></p></td>
748
 
<td>address of return location for accelerator char, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
748
<td>address of return location for accelerator char, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
749
749
</td>
750
750
</tr>
751
751
<tr>
752
752
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
753
 
<td>address of return location for errors, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
753
<td>address of return location for errors, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
754
754
</td>
755
755
</tr>
756
756
<tr>
757
757
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
758
758
<td>
759
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
 
759
<code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> is set, otherwise <code class="literal">TRUE</code>
760
760
</td>
761
761
</tr>
762
762
</tbody>
765
765
<hr>
766
766
<div class="refsect2">
767
767
<a name="pango-attr-type-register"></a><h3>pango_attr_type_register ()</h3>
768
 
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a>       pango_attr_type_register            (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
 
768
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a>       pango_attr_type_register            (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
769
769
<p>
770
770
Allocate a new attribute type ID.  The attribute type name can be accessed
771
771
later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()"><code class="function">pango_attr_type_get_name()</code></a>.
793
793
<a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()"><code class="function">pango_attr_type_register()</code></a>.
794
794
</p>
795
795
<p>
796
 
The returned value is an interned string (see <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#g-intern-string"><code class="function">g_intern_string()</code></a> for what
 
796
The returned value is an interned string (see <code class="function">g_intern_string()</code> for what
797
797
that means) that should not be modified or freed.
798
798
</p>
799
799
<div class="variablelist"><table border="0">
805
805
</tr>
806
806
<tr>
807
807
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
808
 
<td>the type ID name (which may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>), or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>type</code></em> is
 
808
<td>the type ID name (which may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>), or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>type</code></em> is
809
809
a built-in Pango attribute type or invalid.</td>
810
810
</tr>
811
811
</tbody>
867
867
<hr>
868
868
<div class="refsect2">
869
869
<a name="pango-attribute-equal"></a><h3>pango_attribute_equal ()</h3>
870
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_attribute_equal               (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
 
870
<pre class="programlisting"><span class="returnvalue">gboolean</span>            pango_attribute_equal               (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
871
871
                                                         <em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);</pre>
872
872
<p>
873
873
Compare two attributes for equality. This compares only the
890
890
<tr>
891
891
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
892
892
<td>
893
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two attributes have the same value.</td>
 
893
<code class="literal">TRUE</code> if the two attributes have the same value.</td>
894
894
</tr>
895
895
</tbody>
896
896
</table></div>
1114
1114
<hr>
1115
1115
<div class="refsect2">
1116
1116
<a name="pango-attr-foreground-new"></a><h3>pango_attr_foreground_new ()</h3>
1117
 
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_foreground_new           (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
1118
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
1119
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
 
1117
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_foreground_new           (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
 
1118
                                                         <em class="parameter"><code><span class="type">guint16</span> green</code></em>,
 
1119
                                                         <em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
1120
1120
<p>
1121
1121
Create a new foreground color attribute.
1122
1122
</p>
1146
1146
<hr>
1147
1147
<div class="refsect2">
1148
1148
<a name="pango-attr-background-new"></a><h3>pango_attr_background_new ()</h3>
1149
 
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_background_new           (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
1150
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
1151
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
 
1149
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_background_new           (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
 
1150
                                                         <em class="parameter"><code><span class="type">guint16</span> green</code></em>,
 
1151
                                                         <em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
1152
1152
<p>
1153
1153
Create a new background color attribute.
1154
1154
</p>
1178
1178
<hr>
1179
1179
<div class="refsect2">
1180
1180
<a name="pango-attr-strikethrough-new"></a><h3>pango_attr_strikethrough_new ()</h3>
1181
 
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_strikethrough_new        (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strikethrough</code></em>);</pre>
 
1181
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_strikethrough_new        (<em class="parameter"><code><span class="type">gboolean</span> strikethrough</code></em>);</pre>
1182
1182
<p>
1183
1183
Create a new strike-through attribute.
1184
1184
</p>
1188
1188
<tr>
1189
1189
<td><p><span class="term"><em class="parameter"><code>strikethrough</code></em> :</span></p></td>
1190
1190
<td>
1191
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the text should be struck-through.</td>
 
1191
<code class="literal">TRUE</code> if the text should be struck-through.</td>
1192
1192
</tr>
1193
1193
<tr>
1194
1194
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1201
1201
<hr>
1202
1202
<div class="refsect2">
1203
1203
<a name="pango-attr-strikethrough-color-new"></a><h3>pango_attr_strikethrough_color_new ()</h3>
1204
 
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_strikethrough_color_new  (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
1205
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
1206
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
 
1204
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_strikethrough_color_new  (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
 
1205
                                                         <em class="parameter"><code><span class="type">guint16</span> green</code></em>,
 
1206
                                                         <em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
1207
1207
<p>
1208
1208
Create a new strikethrough color attribute. This attribute
1209
1209
modifies the color of strikethrough lines. If not set, strikethrough
1258
1258
<hr>
1259
1259
<div class="refsect2">
1260
1260
<a name="pango-attr-underline-color-new"></a><h3>pango_attr_underline_color_new ()</h3>
1261
 
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_underline_color_new      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
1262
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
1263
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
 
1261
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_underline_color_new      (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
 
1262
                                                         <em class="parameter"><code><span class="type">guint16</span> green</code></em>,
 
1263
                                                         <em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
1264
1264
<p>
1265
1265
Create a new underline color attribute. This attribute
1266
1266
modifies the color of underlines. If not set, underlines
1353
1353
<pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
1354
1354
</pre>
1355
1355
<p>
1356
 
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a>.
 
1356
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a>.
1357
1357
</p>
1358
1358
</div>
1359
1359
<hr>
1391
1391
<a name="pango-attr-shape-new-with-data"></a><h3>pango_attr_shape_new_with_data ()</h3>
1392
1392
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_shape_new_with_data      (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
1393
1393
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
1394
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
1394
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
1395
1395
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
1396
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);</pre>
 
1396
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);</pre>
1397
1397
<p>
1398
1398
Like <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()"><code class="function">pango_attr_shape_new()</code></a>, but a user data pointer is also
1399
1399
provided; this pointer can be accessed when later
1417
1417
<tr>
1418
1418
<td><p><span class="term"><em class="parameter"><code>copy_func</code></em> :</span></p></td>
1419
1419
<td>function to copy <em class="parameter"><code>data</code></em> when the
1420
 
attribute is copied. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>data</code></em> is simply
1421
 
copied as a pointer. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
1420
attribute is copied. If <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>data</code></em> is simply
 
1421
copied as a pointer. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1422
1422
</td>
1423
1423
</tr>
1424
1424
<tr>
1425
1425
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
1426
1426
<td>function to free <em class="parameter"><code>data</code></em> when the
1427
 
attribute is freed, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
1427
attribute is freed, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1428
1428
</td>
1429
1429
</tr>
1430
1430
<tr>
1439
1439
<hr>
1440
1440
<div class="refsect2">
1441
1441
<a name="PangoAttrDataCopyFunc"></a><h3>PangoAttrDataCopyFunc ()</h3>
1442
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            (*PangoAttrDataCopyFunc)            (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);</pre>
 
1442
<pre class="programlisting"><span class="returnvalue">gpointer</span>            (*PangoAttrDataCopyFunc)            (<em class="parameter"><code><span class="type">gconstpointer</span> data</code></em>);</pre>
1443
1443
<p>
1444
1444
A copy function passed to attribute new functions that take
1445
1445
user data.
1594
1594
<hr>
1595
1595
<div class="refsect2">
1596
1596
<a name="pango-attr-fallback-new"></a><h3>pango_attr_fallback_new ()</h3>
1597
 
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_fallback_new             (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable_fallback</code></em>);</pre>
 
1597
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *    pango_attr_fallback_new             (<em class="parameter"><code><span class="type">gboolean</span> enable_fallback</code></em>);</pre>
1598
1598
<p>
1599
1599
Create a new font fallback attribute.
1600
1600
</p>
1610
1610
<tr>
1611
1611
<td><p><span class="term"><em class="parameter"><code>enable_fallback</code></em> :</span></p></td>
1612
1612
<td>
1613
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if we should fall back on other fonts
 
1613
<code class="literal">TRUE</code> if we should fall back on other fonts
1614
1614
for characters the active font is missing.</td>
1615
1615
</tr>
1616
1616
<tr>
1688
1688
<pre class="programlisting">#define PANGO_TYPE_COLOR pango_color_get_type ()
1689
1689
</pre>
1690
1690
<p>
1691
 
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>.
 
1691
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>.
1692
1692
</p>
1693
1693
</div>
1694
1694
<hr>
1695
1695
<div class="refsect2">
1696
1696
<a name="pango-color-parse"></a><h3>pango_color_parse ()</h3>
1697
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_color_parse                   (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
 
1697
<pre class="programlisting"><span class="returnvalue">gboolean</span>            pango_color_parse                   (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
1698
1698
                                                         <em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);</pre>
1699
1699
<p>
1700
1700
Fill in the fields of a color from a string specification. The
1710
1710
<tbody>
1711
1711
<tr>
1712
1712
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
1713
 
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> structure in which to store the result, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1713
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> structure in which to store the result, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1714
1714
</td>
1715
1715
</tr>
1716
1716
<tr>
1720
1720
<tr>
1721
1721
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1722
1722
<td>
1723
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if parsing of the specifier succeeded,
 
1723
<code class="literal">TRUE</code> if parsing of the specifier succeeded,
1724
1724
otherwise false.</td>
1725
1725
</tr>
1726
1726
</tbody>
1741
1741
<tbody>
1742
1742
<tr>
1743
1743
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
1744
 
<td>color to copy, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1744
<td>color to copy, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1745
1745
</td>
1746
1746
</tr>
1747
1747
<tr>
1748
1748
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1749
1749
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, which should
1750
 
be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
1751
 
if <em class="parameter"><code>src</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
 
1750
be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
1751
if <em class="parameter"><code>src</code></em> was <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
1752
1752
</tr>
1753
1753
</tbody>
1754
1754
</table></div>
1764
1764
<col align="left" valign="top">
1765
1765
<tbody><tr>
1766
1766
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
1767
 
<td>an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1767
<td>an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1768
1768
</td>
1769
1769
</tr></tbody>
1770
1770
</table></div>
1772
1772
<hr>
1773
1773
<div class="refsect2">
1774
1774
<a name="pango-color-to-string"></a><h3>pango_color_to_string ()</h3>
1775
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             pango_color_to_string               (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
 
1775
<pre class="programlisting"><span class="returnvalue">gchar</span> *             pango_color_to_string               (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
1776
1776
<p>
1777
1777
Returns a textual specification of <em class="parameter"><code>color</code></em> in the hexadecimal form
1778
1778
<code class="literal">#rrrrggggbbbb</code>, where <code class="literal">r</code>,
1789
1789
</tr>
1790
1790
<tr>
1791
1791
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1792
 
<td>a newly-allocated text string that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
 
1792
<td>a newly-allocated text string that must be freed with <code class="function">g_free()</code>.</td>
1793
1793
</tr>
1794
1794
</tbody>
1795
1795
</table></div>
1819
1819
<pre class="programlisting">#define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
1820
1820
</pre>
1821
1821
<p>
1822
 
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>.
 
1822
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>.
1823
1823
</p>
1824
1824
</div>
1825
1825
<hr>
1850
1850
<tbody>
1851
1851
<tr>
1852
1852
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
1853
 
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1853
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1854
1854
</td>
1855
1855
</tr>
1856
1856
<tr>
1874
1874
<col align="left" valign="top">
1875
1875
<tbody><tr>
1876
1876
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
1877
 
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1877
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1878
1878
</td>
1879
1879
</tr></tbody>
1880
1880
</table></div>
1891
1891
<tbody>
1892
1892
<tr>
1893
1893
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
1894
 
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1894
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1895
1895
</td>
1896
1896
</tr>
1897
1897
<tr>
1899
1899
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, with a
1900
1900
reference count of one, which should
1901
1901
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()"><code class="function">pango_attr_list_unref()</code></a>.
1902
 
Returns <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>list</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
 
1902
Returns <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>list</code></em> was <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
1903
1903
</tr>
1904
1904
</tbody>
1905
1905
</table></div>
1994
1994
<a name="pango-attr-list-splice"></a><h3>pango_attr_list_splice ()</h3>
1995
1995
<pre class="programlisting"><span class="returnvalue">void</span>                pango_attr_list_splice              (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
1996
1996
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
1997
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>,
1998
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);</pre>
 
1997
                                                         <em class="parameter"><code><span class="type">gint</span> pos</code></em>,
 
1998
                                                         <em class="parameter"><code><span class="type">gint</span> len</code></em>);</pre>
1999
1999
<p>
2000
2000
This function opens up a hole in <em class="parameter"><code>list</code></em>, fills it in with attributes from
2001
2001
the left, and then merges <em class="parameter"><code>other</code></em> on top of the hole.
2042
2042
<a name="pango-attr-list-filter"></a><h3>pango_attr_list_filter ()</h3>
2043
2043
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *     pango_attr_list_filter              (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
2044
2044
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
2045
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
2045
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
2046
2046
<p>
2047
2047
Given a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> and callback function, removes any elements
2048
 
of <em class="parameter"><code>list</code></em> for which <em class="parameter"><code>func</code></em> returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and inserts them into
 
2048
of <em class="parameter"><code>list</code></em> for which <em class="parameter"><code>func</code></em> returns <code class="literal">TRUE</code> and inserts them into
2049
2049
a new list.
2050
2050
</p>
2051
2051
<div class="variablelist"><table border="0">
2058
2058
</tr>
2059
2059
<tr>
2060
2060
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
2061
 
<td>callback function; returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
2062
 
if an attribute should be filtered out. <span class="annotation">[<a href="http://foldoc.org/scope%20call"><span class="acronym">scope call</span></a>][<a href="http://foldoc.org/closure"><span class="acronym">closure</span></a> data]</span>
 
2061
<td>callback function; returns <code class="literal">TRUE</code>
 
2062
if an attribute should be filtered out. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>][<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> data]</span>
2063
2063
</td>
2064
2064
</tr>
2065
2065
<tr>
2066
2066
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
2067
 
<td>Data to be passed to <em class="parameter"><code>func</code></em>. <span class="annotation">[<a href="http://foldoc.org/closure"><span class="acronym">closure</span></a>]</span>
 
2067
<td>Data to be passed to <em class="parameter"><code>func</code></em>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
2068
2068
</td>
2069
2069
</tr>
2070
2070
<tr>
2071
2071
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2072
 
<td>the new <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if
2073
 
no attributes of the given types were found. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
 
2072
<td>the new <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
 
2073
no attributes of the given types were found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2074
2074
</td>
2075
2075
</tr>
2076
2076
</tbody>
2080
2080
<hr>
2081
2081
<div class="refsect2">
2082
2082
<a name="PangoAttrFilterFunc"></a><h3>PangoAttrFilterFunc ()</h3>
2083
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            (*PangoAttrFilterFunc)              (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
2084
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
2083
<pre class="programlisting"><span class="returnvalue">gboolean</span>            (*PangoAttrFilterFunc)              (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
 
2084
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
2085
2085
<p>
2086
2086
A predicate function used by <a class="link" href="pango-Text-Attributes.html#pango-attr-list-filter" title="pango_attr_list_filter ()"><code class="function">pango_attr_list_filter()</code></a>
2087
2087
to filter out a subset of attributes for a list.
2102
2102
<tr>
2103
2103
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2104
2104
<td>
2105
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the attribute should be filtered out</td>
 
2105
<code class="literal">TRUE</code> if the attribute should be filtered out</td>
2106
2106
</tr>
2107
2107
</tbody>
2108
2108
</table></div>
2170
2170
<hr>
2171
2171
<div class="refsect2">
2172
2172
<a name="pango-attr-iterator-next"></a><h3>pango_attr_iterator_next ()</h3>
2173
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_attr_iterator_next            (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
 
2173
<pre class="programlisting"><span class="returnvalue">gboolean</span>            pango_attr_iterator_next            (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
2174
2174
<p>
2175
2175
Advance the iterator until the next change of style.
2176
2176
</p>
2185
2185
<tr>
2186
2186
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2187
2187
<td>
2188
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the iterator is at the end of the list, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
 
2188
<code class="literal">FALSE</code> if the iterator is at the end of the list, otherwise <code class="literal">TRUE</code>
2189
2189
</td>
2190
2190
</tr>
2191
2191
</tbody>
2195
2195
<div class="refsect2">
2196
2196
<a name="pango-attr-iterator-range"></a><h3>pango_attr_iterator_range ()</h3>
2197
2197
<pre class="programlisting"><span class="returnvalue">void</span>                pango_attr_iterator_range           (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
2198
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start</code></em>,
2199
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end</code></em>);</pre>
 
2198
                                                         <em class="parameter"><code><span class="type">gint</span> *start</code></em>,
 
2199
                                                         <em class="parameter"><code><span class="type">gint</span> *end</code></em>);</pre>
2200
2200
<p>
2201
2201
Get the range of the current segment. Note that the
2202
2202
stored return values are signed, not unsigned like
2203
2203
the values in <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>. To deal with this API
2204
2204
oversight, stored return values that wouldn't fit into
2205
 
a signed integer are clamped to <a href="http://library.gnome.org/devel/glib/unstable/glib-Limits-of-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a>.
 
2205
a signed integer are clamped to <code class="literal">G_MAXINT</code>.
2206
2206
</p>
2207
2207
<div class="variablelist"><table border="0">
2208
2208
<col align="left" valign="top">
2248
2248
</tr>
2249
2249
<tr>
2250
2250
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2251
 
<td>the current attribute of the given type, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
2251
<td>the current attribute of the given type, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
2252
2252
if no attribute of that type applies to the current
2253
2253
location.</td>
2254
2254
</tr>
2261
2261
<pre class="programlisting"><span class="returnvalue">void</span>                pango_attr_iterator_get_font        (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
2262
2262
                                                         <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
2263
2263
                                                         <em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
2264
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **extra_attrs</code></em>);</pre>
 
2264
                                                         <em class="parameter"><code><span class="type">GSList</span> **extra_attrs</code></em>);</pre>
2265
2265
<p>
2266
2266
Get the font and other attributes at the current iterator position.
2267
2267
</p>
2284
2284
</tr>
2285
2285
<tr>
2286
2286
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
2287
 
<td>if non-<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, location to store language tag for item, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
2288
 
if none is found. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
2287
<td>if non-<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, location to store language tag for item, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
2288
if none is found. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2289
2289
</td>
2290
2290
</tr>
2291
2291
<tr>
2292
2292
<td><p><span class="term"><em class="parameter"><code>extra_attrs</code></em> :</span></p></td>
2293
 
<td>if non-<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>,
 
2293
<td>if non-<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>,
2294
2294
location in which to store a list of non-font
2295
2295
attributes at the the current position; only the highest priority
2296
2296
value of each attribute will be added to this list. In order
2297
2297
to free this value, you must call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
2298
 
each member. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>][<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.Attribute][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
 
2298
each member. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Attribute][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2299
2299
</td>
2300
2300
</tr>
2301
2301
</tbody>
2304
2304
<hr>
2305
2305
<div class="refsect2">
2306
2306
<a name="pango-attr-iterator-get-attrs"></a><h3>pango_attr_iterator_get_attrs ()</h3>
2307
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            pango_attr_iterator_get_attrs       (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
 
2307
<pre class="programlisting"><span class="returnvalue">GSList</span> *            pango_attr_iterator_get_attrs       (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
2308
2308
<p>
2309
2309
Gets a list of all attributes at the current position of the
2310
2310
iterator.
2322
2322
<td>a list of
2323
2323
all attributes for the current range.
2324
2324
To free this value, call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
2325
 
each value and <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> on the list. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.Attribute][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
 
2325
each value and <code class="function">g_slist_free()</code> on the list. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Attribute][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2326
2326
</td>
2327
2327
</tr>
2328
2328
</tbody>
2348
2348
</div>
2349
2349
<div class="footer">
2350
2350
<hr>
2351
 
          Generated by GTK-Doc V1.18</div>
 
2351
          Generated by GTK-Doc V1.18.1</div>
2352
2352
</body>
2353
2353
</html>
 
 
b'\\ No newline at end of file'