57
36
<td valign="top" align="right"></td>
58
37
</tr></table></div>
59
<div class="refsynopsisdiv" title="Synopsis">
38
<div class="refsynopsisdiv">
60
39
<a name="pango-Text-Attributes.synopsis"></a><h2>Synopsis</h2>
61
40
<pre class="synopsis">enum <a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType">PangoAttrType</a>;
62
41
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-TYPE:CAPS" title="PANGO_TYPE_ATTR_TYPE">PANGO_TYPE_ATTR_TYPE</a>
63
<a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="PangoAttrClass">PangoAttrClass</a>;
64
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute">PangoAttribute</a>;
42
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass">PangoAttrClass</a>;
43
struct <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute">PangoAttribute</a>;
65
44
#define <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-INDEX-FROM-TEXT-BEGINNING:CAPS" title="PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING">PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING</a>
66
45
#define <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-INDEX-TO-TEXT-END:CAPS" title="PANGO_ATTR_INDEX_TO_TEXT_END">PANGO_ATTR_INDEX_TO_TEXT_END</a>
67
<a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="PangoAttrString">PangoAttrString</a>;
68
<a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="PangoAttrLanguage">PangoAttrLanguage</a>;
69
<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor">PangoAttrColor</a>;
70
<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt">PangoAttrInt</a>;
71
<a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="PangoAttrFloat">PangoAttrFloat</a>;
72
<a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="PangoAttrFontDesc">PangoAttrFontDesc</a>;
73
<a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="PangoAttrShape">PangoAttrShape</a>;
74
<a class="link" href="pango-Text-Attributes.html#PangoAttrSize" title="PangoAttrSize">PangoAttrSize</a>;
75
<a href="/usr/share/gtk-doc/html/glib/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> (const <span class="returnvalue">char</span> *markup_text,
76
<span class="returnvalue">int</span> length,
77
<a href="/usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="returnvalue">gunichar</span></a> accel_marker,
78
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> **attr_list,
79
<span class="returnvalue">char</span> **text,
80
<a href="/usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="returnvalue">gunichar</span></a> *accel_char,
81
<a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
82
<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum 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> (const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *name);
83
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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> type);
84
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()">pango_attribute_init</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr,
85
const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="PangoAttrClass"><span class="returnvalue">PangoAttrClass</span></a> *klass);
86
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr);
87
<a href="/usr/share/gtk-doc/html/glib/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> (const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr1,
88
const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr2);
89
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()">pango_attribute_destroy</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr);
46
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="struct PangoAttrString">PangoAttrString</a>;
47
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="struct PangoAttrLanguage">PangoAttrLanguage</a>;
48
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor">PangoAttrColor</a>;
49
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt">PangoAttrInt</a>;
50
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="struct PangoAttrFloat">PangoAttrFloat</a>;
51
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc">PangoAttrFontDesc</a>;
52
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape">PangoAttrShape</a>;
53
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrSize" title="struct PangoAttrSize">PangoAttrSize</a>;
54
<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>,
55
<em class="parameter"><code><span class="type">int</span> length</code></em>,
56
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
57
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
58
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
59
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
60
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
61
<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum 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>);
62
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" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
63
<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>,
64
<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>);
65
<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>);
66
<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>,
67
<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>);
68
<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>);
91
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-language-new" title="pango_attr_language_new ()">pango_attr_language_new</a> (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *language);
92
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-family-new" title="pango_attr_family_new ()">pango_attr_family_new</a> (const <span class="returnvalue">char</span> *family);
93
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-style-new" title="pango_attr_style_new ()">pango_attr_style_new</a> (<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="returnvalue">PangoStyle</span></a> style);
94
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-variant-new" title="pango_attr_variant_new ()">pango_attr_variant_new</a> (<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="returnvalue">PangoVariant</span></a> variant);
95
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-stretch-new" title="pango_attr_stretch_new ()">pango_attr_stretch_new</a> (<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="returnvalue">PangoStretch</span></a> stretch);
96
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-weight-new" title="pango_attr_weight_new ()">pango_attr_weight_new</a> (<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="returnvalue">PangoWeight</span></a> weight);
97
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<span class="returnvalue">int</span> size);
98
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<span class="returnvalue">int</span> size);
99
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *desc);
100
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> red,
101
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> green,
102
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> blue);
103
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> red,
104
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> green,
105
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> blue);
106
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> strikethrough);
107
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> red,
108
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> green,
109
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> blue);
110
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline"><span class="returnvalue">PangoUnderline</span></a> underline);
111
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> red,
112
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> green,
113
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> blue);
70
<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-language-new" title="pango_attr_language_new ()">pango_attr_language_new</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
71
<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-family-new" title="pango_attr_family_new ()">pango_attr_family_new</a> (<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);
72
<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-style-new" title="pango_attr_style_new ()">pango_attr_style_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);
73
<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-variant-new" title="pango_attr_variant_new ()">pango_attr_variant_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);
74
<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-stretch-new" title="pango_attr_stretch_new ()">pango_attr_stretch_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);
75
<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-weight-new" title="pango_attr_weight_new ()">pango_attr_weight_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);
76
<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>);
77
<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>);
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-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" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
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-foreground-new" title="pango_attr_foreground_new ()">pango_attr_foreground_new</a> (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
80
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
81
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
82
<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>,
83
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
84
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
85
<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>);
86
<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>,
87
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
88
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
89
<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" title="enum PangoUnderline"><span class="type">PangoUnderline</span></a> underline</code></em>);
90
<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>,
91
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
92
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
114
93
enum <a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline">PangoUnderline</a>;
115
94
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-UNDERLINE:CAPS" title="PANGO_TYPE_UNDERLINE">PANGO_TYPE_UNDERLINE</a>
116
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="returnvalue">PangoRectangle</span></a> *ink_rect,
117
const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="returnvalue">PangoRectangle</span></a> *logical_rect);
118
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="returnvalue">PangoRectangle</span></a> *ink_rect,
119
const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="returnvalue">PangoRectangle</span></a> *logical_rect,
120
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data,
121
<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="returnvalue">PangoAttrDataCopyFunc</span></a> copy_func,
122
<a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy_func);
123
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()">*PangoAttrDataCopyFunc</a>) (<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="returnvalue">gconstpointer</span></a> data);
124
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<span class="returnvalue">double</span> scale_factor);
95
<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>,
96
<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>);
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-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>,
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
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
100
<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>,
101
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);
102
<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>);
103
<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>);
125
104
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-SMALL:CAPS" title="PANGO_SCALE_XX_SMALL">PANGO_SCALE_XX_SMALL</a>
126
105
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-SMALL:CAPS" title="PANGO_SCALE_X_SMALL">PANGO_SCALE_X_SMALL</a>
127
106
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-SMALL:CAPS" title="PANGO_SCALE_SMALL">PANGO_SCALE_SMALL</a>
129
108
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-LARGE:CAPS" title="PANGO_SCALE_LARGE">PANGO_SCALE_LARGE</a>
130
109
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-LARGE:CAPS" title="PANGO_SCALE_X_LARGE">PANGO_SCALE_X_LARGE</a>
131
110
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-LARGE:CAPS" title="PANGO_SCALE_XX_LARGE">PANGO_SCALE_XX_LARGE</a>
132
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<span class="returnvalue">int</span> rise);
133
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<span class="returnvalue">int</span> letter_spacing);
134
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enable_fallback);
135
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> gravity);
136
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="returnvalue">PangoGravityHint</span></a> hint);
137
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor">PangoColor</a>;
111
<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>);
112
<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>);
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-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>);
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-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" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</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-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" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);
116
struct <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor">PangoColor</a>;
138
117
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-COLOR:CAPS" title="PANGO_TYPE_COLOR">PANGO_TYPE_COLOR</a>
139
<a href="/usr/share/gtk-doc/html/glib/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> (<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> *color,
140
const <span class="returnvalue">char</span> *spec);
141
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="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> (const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> *src);
142
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()">pango_color_free</a> (<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> *color);
143
<a href="/usr/share/gtk-doc/html/glib/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> (const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> *color);
118
<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" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
119
<em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);
120
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct 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" title="struct PangoColor"><span class="type">PangoColor</span></a> *src</code></em>);
121
<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" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
122
<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" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
145
124
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList">PangoAttrList</a>;
146
125
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-LIST:CAPS" title="PANGO_TYPE_ATTR_LIST">PANGO_TYPE_ATTR_LIST</a>
147
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-new" title="pango_attr_list_new ()">pango_attr_list_new</a> (void);
148
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-ref" title="pango_attr_list_ref ()">pango_attr_list_ref</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list);
149
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()">pango_attr_list_unref</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list);
150
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-copy" title="pango_attr_list_copy ()">pango_attr_list_copy</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list);
151
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert" title="pango_attr_list_insert ()">pango_attr_list_insert</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list,
152
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr);
153
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert-before" title="pango_attr_list_insert_before ()">pango_attr_list_insert_before</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list,
154
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr);
155
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-change" title="pango_attr_list_change ()">pango_attr_list_change</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list,
156
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr);
157
<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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list,
158
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *other,
159
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> pos,
160
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> len);
161
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list,
162
<a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="returnvalue">PangoAttrFilterFunc</span></a> func,
163
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data);
164
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()">*PangoAttrFilterFunc</a>) (<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attribute,
165
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data);
166
<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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *list);
126
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-new" title="pango_attr_list_new ()">pango_attr_list_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
127
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-ref" title="pango_attr_list_ref ()">pango_attr_list_ref</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
128
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()">pango_attr_list_unref</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
129
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-copy" title="pango_attr_list_copy ()">pango_attr_list_copy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
130
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert" title="pango_attr_list_insert ()">pango_attr_list_insert</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
131
<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>);
132
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert-before" title="pango_attr_list_insert_before ()">pango_attr_list_insert_before</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
133
<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>);
134
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-change" title="pango_attr_list_change ()">pango_attr_list_change</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
135
<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>);
136
<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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
137
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
138
<em class="parameter"><code><span class="type">gint</span> pos</code></em>,
139
<em class="parameter"><code><span class="type">gint</span> len</code></em>);
140
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
141
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
142
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
143
<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>,
144
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
145
<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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
167
146
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator">PangoAttrIterator</a>;
168
<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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator);
169
<a href="/usr/share/gtk-doc/html/glib/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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator);
170
<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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator,
171
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> *start,
172
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> *end);
173
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator,
174
<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> type);
175
<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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator,
176
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *desc,
177
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> **language,
178
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> **extra_attrs);
179
<a href="/usr/share/gtk-doc/html/glib/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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator);
180
<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> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator);
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-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>);
148
<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>);
149
<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>,
150
<em class="parameter"><code><span class="type">gint</span> *start</code></em>,
151
<em class="parameter"><code><span class="type">gint</span> *end</code></em>);
152
<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>,
153
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
154
<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>,
155
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
156
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
157
<em class="parameter"><code><span class="type">GSList</span> **extra_attrs</code></em>);
158
<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>);
159
<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>);
183
<div class="refsect1" title="Description">
162
<div class="refsect1">
184
163
<a name="pango-Text-Attributes.description"></a><h2>Description</h2>
186
165
Attributed text is used in a number of places in Pango. It
241
220
<td><p><a name="PANGO-ATTR-LANGUAGE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_LANGUAGE</code></span></p></td>
242
<td>language (<a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="PangoAttrLanguage"><span class="type">PangoAttrLanguage</span></a>)
221
<td>language (<a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="struct PangoAttrLanguage"><span class="type">PangoAttrLanguage</span></a>)
246
225
<td><p><a name="PANGO-ATTR-FAMILY:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_FAMILY</code></span></p></td>
247
<td>font family name list (<a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="PangoAttrString"><span class="type">PangoAttrString</span></a>)
226
<td>font family name list (<a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="struct PangoAttrString"><span class="type">PangoAttrString</span></a>)
251
230
<td><p><a name="PANGO-ATTR-STYLE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_STYLE</code></span></p></td>
252
<td>font slant style (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
231
<td>font slant style (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
256
235
<td><p><a name="PANGO-ATTR-WEIGHT:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_WEIGHT</code></span></p></td>
257
<td>font weight (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
236
<td>font weight (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
261
240
<td><p><a name="PANGO-ATTR-VARIANT:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_VARIANT</code></span></p></td>
262
<td>font variant (normal or small caps) (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
241
<td>font variant (normal or small caps) (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
266
245
<td><p><a name="PANGO-ATTR-STRETCH:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_STRETCH</code></span></p></td>
267
<td>font stretch (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
246
<td>font stretch (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
271
250
<td><p><a name="PANGO-ATTR-SIZE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_SIZE</code></span></p></td>
272
<td>font size in points scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
251
<td>font size in points scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
276
255
<td><p><a name="PANGO-ATTR-FONT-DESC:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_FONT_DESC</code></span></p></td>
277
<td>font description (<a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="PangoAttrFontDesc"><span class="type">PangoAttrFontDesc</span></a>)
256
<td>font description (<a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc"><span class="type">PangoAttrFontDesc</span></a>)
281
260
<td><p><a name="PANGO-ATTR-FOREGROUND:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_FOREGROUND</code></span></p></td>
282
<td>foreground color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
261
<td>foreground color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
286
265
<td><p><a name="PANGO-ATTR-BACKGROUND:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_BACKGROUND</code></span></p></td>
287
<td>background color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
266
<td>background color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
291
270
<td><p><a name="PANGO-ATTR-UNDERLINE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_UNDERLINE</code></span></p></td>
292
<td>whether the text has an underline (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
271
<td>whether the text has an underline (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
296
275
<td><p><a name="PANGO-ATTR-STRIKETHROUGH:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_STRIKETHROUGH</code></span></p></td>
297
<td>whether the text is struck-through (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
276
<td>whether the text is struck-through (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
301
280
<td><p><a name="PANGO-ATTR-RISE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_RISE</code></span></p></td>
302
<td>baseline displacement (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
281
<td>baseline displacement (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
306
285
<td><p><a name="PANGO-ATTR-SHAPE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_SHAPE</code></span></p></td>
307
<td>shape (<a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="PangoAttrShape"><span class="type">PangoAttrShape</span></a>)
286
<td>shape (<a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a>)
311
290
<td><p><a name="PANGO-ATTR-SCALE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_SCALE</code></span></p></td>
312
<td>font size scale factor (<a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="PangoAttrFloat"><span class="type">PangoAttrFloat</span></a>)
291
<td>font size scale factor (<a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="struct PangoAttrFloat"><span class="type">PangoAttrFloat</span></a>)
316
295
<td><p><a name="PANGO-ATTR-FALLBACK:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_FALLBACK</code></span></p></td>
317
<td>whether fallback is enabled (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
296
<td>whether fallback is enabled (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
321
300
<td><p><a name="PANGO-ATTR-LETTER-SPACING:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_LETTER_SPACING</code></span></p></td>
322
<td>letter spacing (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
301
<td>letter spacing (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
326
305
<td><p><a name="PANGO-ATTR-UNDERLINE-COLOR:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_UNDERLINE_COLOR</code></span></p></td>
327
<td>underline color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
306
<td>underline color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
331
310
<td><p><a name="PANGO-ATTR-STRIKETHROUGH-COLOR:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_STRIKETHROUGH_COLOR</code></span></p></td>
332
<td>strikethrough color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
311
<td>strikethrough color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
336
315
<td><p><a name="PANGO-ATTR-ABSOLUTE-SIZE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></span></p></td>
337
<td>font size in pixels scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
316
<td>font size in pixels scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
341
320
<td><p><a name="PANGO-ATTR-GRAVITY:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_GRAVITY</code></span></p></td>
342
<td>base text gravity (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
321
<td>base text gravity (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
346
325
<td><p><a name="PANGO-ATTR-GRAVITY-HINT:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_GRAVITY_HINT</code></span></p></td>
347
<td>gravity hint (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
326
<td>gravity hint (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
354
<div class="refsect2" title="PANGO_TYPE_ATTR_TYPE">
333
<div class="refsect2">
355
334
<a name="PANGO-TYPE-ATTR-TYPE:CAPS"></a><h3>PANGO_TYPE_ATTR_TYPE</h3>
356
335
<pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
359
The <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a>.
338
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a>.
363
<div class="refsect2" title="PangoAttrClass">
364
<a name="PangoAttrClass"></a><h3>PangoAttrClass</h3>
365
<pre class="programlisting">typedef struct {
342
<div class="refsect2">
343
<a name="PangoAttrClass"></a><h3>struct PangoAttrClass</h3>
344
<pre class="programlisting">struct PangoAttrClass {
366
345
PangoAttrType type;
367
346
PangoAttribute * (*copy) (const PangoAttribute *attr);
368
347
void (*destroy) (PangoAttribute *attr);
369
348
gboolean (*equal) (const PangoAttribute *attr1, const PangoAttribute *attr2);
373
The <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="PangoAttrClass"><span class="type">PangoAttrClass</span></a> structure stores the type and operations for
352
The <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass"><span class="type">PangoAttrClass</span></a> structure stores the type and operations for
374
353
a particular type of attribute. The functions in this structure should
375
354
not be called directly. Instead, one should use the wrapper functions
376
provided for <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>.
355
provided for <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>.
378
357
<div class="variablelist"><table border="0">
379
358
<col align="left" valign="top">
747
726
If any error happens, none of the output arguments are touched except
748
for <em class="parameter"><code>error</code></em>.</p>
727
for <em class="parameter"><code>error</code></em>.
749
729
<div class="variablelist"><table border="0">
750
730
<col align="left" valign="top">
753
733
<td><p><span class="term"><em class="parameter"><code>markup_text</code></em> :</span></p></td>
754
<td> markup to parse (see <a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>)
734
<td>markup to parse (see <a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>)
758
738
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
759
<td> length of <em class="parameter"><code>markup_text</code></em>, or -1 if nul-terminated
739
<td>length of <em class="parameter"><code>markup_text</code></em>, or -1 if nul-terminated
763
743
<td><p><span class="term"><em class="parameter"><code>accel_marker</code></em> :</span></p></td>
764
<td> character that precedes an accelerator, or 0 for none
744
<td>character that precedes an accelerator, or 0 for none
768
748
<td><p><span class="term"><em class="parameter"><code>attr_list</code></em> :</span></p></td>
769
<td> address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
749
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
773
753
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
774
<td> address of return location for text with tags stripped, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
754
<td>address of return location for text with tags stripped, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
778
758
<td><p><span class="term"><em class="parameter"><code>accel_char</code></em> :</span></p></td>
779
<td> address of return location for accelerator char, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
759
<td>address of return location for accelerator char, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
783
763
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
784
<td> address of return location for errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
764
<td>address of return location for errors, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
788
768
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
789
<td> <a href="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
769
<td> <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> is set, otherwise <code class="literal">TRUE</code>
796
<div class="refsect2" title="pango_attr_type_register ()">
776
<div class="refsect2">
797
777
<a name="pango-attr-type-register"></a><h3>pango_attr_type_register ()</h3>
798
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> pango_attr_type_register (const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *name);</pre>
778
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum 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>
800
780
Allocate a new attribute type ID. The attribute type name can be accessed
801
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>.</p>
781
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>.
802
783
<div class="variablelist"><table border="0">
803
784
<col align="left" valign="top">
806
787
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
807
<td> an identifier for the type
788
<td>an identifier for the type
900
<div class="refsect2" title="pango_attribute_equal ()">
884
<div class="refsect2">
901
885
<a name="pango-attribute-equal"></a><h3>pango_attribute_equal ()</h3>
902
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_attribute_equal (const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr1,
903
const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr2);</pre>
886
<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>,
887
<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>
905
889
Compare two attributes for equality. This compares only the
906
890
actual value of the two attributes and not the ranges that the
907
attributes apply to.</p>
908
893
<div class="variablelist"><table border="0">
909
894
<col align="left" valign="top">
912
897
<td><p><span class="term"><em class="parameter"><code>attr1</code></em> :</span></p></td>
913
<td> a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>
898
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
917
902
<td><p><span class="term"><em class="parameter"><code>attr2</code></em> :</span></p></td>
918
<td> another <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>
903
<td>another <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
922
907
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
923
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two attributes have the same value.
908
<td> <code class="literal">TRUE</code> if the two attributes have the same value.
930
<div class="refsect2" title="pango_attribute_destroy ()">
915
<div class="refsect2">
931
916
<a name="pango-attribute-destroy"></a><h3>pango_attribute_destroy ()</h3>
932
<pre class="programlisting"><span class="returnvalue">void</span> pango_attribute_destroy (<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *attr);</pre>
917
<pre class="programlisting"><span class="returnvalue">void</span> pango_attribute_destroy (<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>);</pre>
934
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> and free all associated memory.</p>
919
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> and free all associated memory.
935
921
<div class="variablelist"><table border="0">
936
922
<col align="left" valign="top">
938
924
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
939
<td> a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>.
925
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>.
945
<div class="refsect2" title="pango_attr_language_new ()">
931
<div class="refsect2">
946
932
<a name="pango-attr-language-new"></a><h3>pango_attr_language_new ()</h3>
947
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_language_new (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *language);</pre>
933
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_language_new (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
949
Create a new language tag attribute.</p>
935
Create a new language tag attribute.
950
937
<div class="variablelist"><table border="0">
951
938
<col align="left" valign="top">
954
941
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
959
946
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
960
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
947
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
961
948
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>.
1448
<div class="refsect2" title="pango_attr_shape_new_with_data ()">
1451
<div class="refsect2">
1449
1452
<a name="pango-attr-shape-new-with-data"></a><h3>pango_attr_shape_new_with_data ()</h3>
1450
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_shape_new_with_data (const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="returnvalue">PangoRectangle</span></a> *ink_rect,
1451
const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="returnvalue">PangoRectangle</span></a> *logical_rect,
1452
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data,
1453
<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="returnvalue">PangoAttrDataCopyFunc</span></a> copy_func,
1454
<a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy_func);</pre>
1453
<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>,
1454
<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>,
1455
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
1456
<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>,
1457
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);</pre>
1456
1459
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
1457
1460
provided; this pointer can be accessed when later
1458
rendering the glyph.</p>
1461
rendering the glyph.
1459
1463
<div class="variablelist"><table border="0">
1460
1464
<col align="left" valign="top">
1463
1467
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
1464
<td> ink rectangle to assign to each character
1468
<td>ink rectangle to assign to each character
1468
1472
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
1469
<td> logical rectangle to assign to each character
1473
<td>logical rectangle to assign to each character
1473
1477
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1474
<td> user data pointer
1478
<td>user data pointer
1478
1482
<td><p><span class="term"><em class="parameter"><code>copy_func</code></em> :</span></p></td>
1479
<td> function to copy <em class="parameter"><code>data</code></em> when the attribute
1480
is copied. If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>data</code></em> is simply copied
1483
<td>function to copy <em class="parameter"><code>data</code></em> when the attribute
1484
is copied. If <a href="/gnome/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 copied
1485
1489
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
1486
<td> function to free <em class="parameter"><code>data</code></em> when the attribute
1487
is freed, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1490
<td>function to free <em class="parameter"><code>data</code></em> when the attribute
1491
is freed, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1491
1495
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1492
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
1496
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
1493
1497
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>.
1826
<div class="refsect2" title="pango_color_copy ()">
1838
<div class="refsect2">
1827
1839
<a name="pango-color-copy"></a><h3>pango_color_copy ()</h3>
1828
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> * pango_color_copy (const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> *src);</pre>
1840
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="returnvalue">PangoColor</span></a> * pango_color_copy (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *src</code></em>);</pre>
1830
1842
Creates a copy of <em class="parameter"><code>src</code></em>, which should be freed with
1831
1843
<a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>. Primarily used by language bindings,
1832
1844
not that useful otherwise (since colors can just be copied
1833
by assignment in C).</p>
1845
by assignment in C).
1834
1847
<div class="variablelist"><table border="0">
1835
1848
<col align="left" valign="top">
1838
1851
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
1839
<td> color to copy, may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1852
<td>color to copy, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1843
1856
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1844
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a>, which should
1845
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/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1846
if <em class="parameter"><code>src</code></em> was <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1857
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a>, which should
1858
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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1859
if <em class="parameter"><code>src</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
1853
<div class="refsect2" title="pango_color_free ()">
1866
<div class="refsect2">
1854
1867
<a name="pango-color-free"></a><h3>pango_color_free ()</h3>
1855
<pre class="programlisting"><span class="returnvalue">void</span> pango_color_free (<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> *color);</pre>
1868
<pre class="programlisting"><span class="returnvalue">void</span> pango_color_free (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
1857
Frees a color allocated by <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()"><code class="function">pango_color_copy()</code></a>.</p>
1870
Frees a color allocated by <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()"><code class="function">pango_color_copy()</code></a>.
1858
1872
<div class="variablelist"><table border="0">
1859
1873
<col align="left" valign="top">
1861
1875
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
1862
<td> an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a>, may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1876
<td>an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1868
<div class="refsect2" title="pango_color_to_string ()">
1882
<div class="refsect2">
1869
1883
<a name="pango-color-to-string"></a><h3>pango_color_to_string ()</h3>
1870
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * pango_color_to_string (const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> *color);</pre>
1884
<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" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
1872
1886
Returns a textual specification of <em class="parameter"><code>color</code></em> in the hexadecimal form
1873
1887
<code class="literal">#rrrrggggbbbb</code>, where <code class="literal">r</code>,
1874
1888
<code class="literal">g</code> and <code class="literal">b</code> are hex digits representing
1875
the red, green, and blue components respectively.</p>
1889
the red, green, and blue components respectively.
1876
1891
<div class="variablelist"><table border="0">
1877
1892
<col align="left" valign="top">
1880
1895
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
1881
<td> a <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a>
1896
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a>
1885
1900
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1886
<td> a newly-allocated text string that must be freed with <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
1901
<td> a newly-allocated text string that must be freed with <code class="function">g_free()</code>.
2269
<div class="refsect2" title="pango_attr_iterator_next ()">
2295
<div class="refsect2">
2270
2296
<a name="pango-attr-iterator-next"></a><h3>pango_attr_iterator_next ()</h3>
2271
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_attr_iterator_next (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator);</pre>
2297
<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>
2273
Advance the iterator until the next change of style.</p>
2299
Advance the iterator until the next change of style.
2274
2301
<div class="variablelist"><table border="0">
2275
2302
<col align="left" valign="top">
2278
2305
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
2279
<td> a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
2306
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
2283
2310
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2284
<td> <a href="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
2311
<td> <code class="literal">FALSE</code> if the iterator is at the end of the list, otherwise <code class="literal">TRUE</code>
2291
<div class="refsect2" title="pango_attr_iterator_range ()">
2318
<div class="refsect2">
2292
2319
<a name="pango-attr-iterator-range"></a><h3>pango_attr_iterator_range ()</h3>
2293
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_range (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator,
2294
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> *start,
2295
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> *end);</pre>
2320
<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>,
2321
<em class="parameter"><code><span class="type">gint</span> *start</code></em>,
2322
<em class="parameter"><code><span class="type">gint</span> *end</code></em>);</pre>
2297
2324
Get the range of the current segment. Note that the
2298
2325
stored return values are signed, not unsigned like
2299
the values in <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>. To deal with this API
2326
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
2300
2327
oversight, stored return values that wouldn't fit into
2301
a signed integer are clamped to <a href="/usr/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a>.</p>
2328
a signed integer are clamped to <code class="literal">G_MAXINT</code>.
2302
2330
<div class="variablelist"><table border="0">
2303
2331
<col align="left" valign="top">
2306
2334
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
2307
<td> a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
2335
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
2311
2339
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
2312
<td> location to store the start of the range
2340
<td>location to store the start of the range
2316
2344
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
2317
<td> location to store the end of the range
2345
<td>location to store the end of the range
2324
<div class="refsect2" title="pango_attr_iterator_get ()">
2352
<div class="refsect2">
2325
2353
<a name="pango-attr-iterator-get"></a><h3>pango_attr_iterator_get ()</h3>
2326
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_iterator_get (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator,
2327
<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> type);</pre>
2354
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_iterator_get (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
2355
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);</pre>
2329
2357
Find the current attribute of a particular type at the iterator
2330
2358
location. When multiple attributes of the same type overlap,
2331
2359
the attribute whose range starts closest to the current location
2333
2362
<div class="variablelist"><table border="0">
2334
2363
<col align="left" valign="top">
2337
2366
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
2338
<td> a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
2367
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
2342
2371
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
2343
<td> the type of attribute to find.
2372
<td>the type of attribute to find.
2347
2376
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2348
<td> the current attribute of the given type, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
2377
<td> the current attribute of the given type, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
2349
2378
if no attribute of that type applies to the current
2384
2414
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
2385
<td> if non-<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, location to store language tag for item, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
2415
<td>if non-<a href="/gnome/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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
2386
2416
if none is found.
2390
2420
<td><p><span class="term"><em class="parameter"><code>extra_attrs</code></em> :</span></p></td>
2391
<td>element type Pango.Attribute): (transfer full. element type Pango.Attribute): (transfer full</td>
2421
<td> (transfer full): if non-<a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>,
2422
location in which to store a list of non-font
2423
attributes at the the current position; only the highest priority
2424
value of each attribute will be added to this list. In order
2425
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
2426
each member. <span class="annotation">[element type Pango.Attribute]</span>
2397
<div class="refsect2" title="pango_attr_iterator_get_attrs ()">
2433
<div class="refsect2">
2398
2434
<a name="pango-attr-iterator-get-attrs"></a><h3>pango_attr_iterator_get_attrs ()</h3>
2399
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * pango_attr_iterator_get_attrs (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator);</pre>
2435
<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>
2401
2437
Gets a list of all attributes at the current position of the
2403
2440
<div class="variablelist"><table border="0">
2404
2441
<col align="left" valign="top">
2407
2444
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
2408
<td> a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
2445
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
2412
2449
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2413
<td>element-type Pango.Attribute): (transfer full. <a href="http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=element-type"><span class="acronym">element-type</span></a> Pango.Attribute): (transfer full. </td>
2450
<td> (transfer full): a list of
2451
all attributes for the current range.
2452
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
2453
each value and <code class="function">g_slist_free()</code> on the list. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.Attribute]</span>
2417
2458
<p class="since">Since 1.2</p>
2420
<div class="refsect2" title="pango_attr_iterator_destroy ()">
2461
<div class="refsect2">
2421
2462
<a name="pango-attr-iterator-destroy"></a><h3>pango_attr_iterator_destroy ()</h3>
2422
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_destroy (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> *iterator);</pre>
2463
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_destroy (<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>
2424
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> and free all associated memory.</p>
2465
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> and free all associated memory.
2425
2467
<div class="variablelist"><table border="0">
2426
2468
<col align="left" valign="top">
2428
2470
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
2429
<td> a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>.
2471
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>.