pango 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/pango/extconf.rb +3 -0
- data/ext/pango/rbpango.c +312 -12
- data/ext/pango/rbpango.h +33 -22
- data/ext/pango/rbpangoanalysis.c +98 -58
- data/ext/pango/rbpangoattribute.c +94 -85
- data/ext/pango/rbpangoattriterator.c +39 -28
- data/ext/pango/rbpangoattrlist.c +42 -32
- data/ext/pango/rbpangocairo.c +38 -172
- data/ext/pango/rbpangocairocontext.c +151 -0
- data/ext/pango/rbpangocolor.c +49 -38
- data/ext/pango/rbpangocontext.c +109 -102
- data/ext/pango/rbpangoconversions.h +111 -0
- data/ext/pango/rbpangocoverage.c +45 -37
- data/ext/pango/rbpangoengine.c +22 -12
- data/ext/pango/rbpangofont.c +52 -43
- data/ext/pango/rbpangofontdescription.c +102 -91
- data/ext/pango/rbpangofontface.c +32 -21
- data/ext/pango/rbpangofontfamily.c +31 -20
- data/ext/pango/rbpangofontmap.c +44 -36
- data/ext/pango/rbpangofontmetrics.c +41 -30
- data/ext/pango/rbpangofontset.c +32 -21
- data/ext/pango/rbpangofontsetsimple.c +34 -24
- data/ext/pango/rbpangoglyphinfo.c +48 -35
- data/ext/pango/rbpangoglyphitem.c +43 -33
- data/ext/pango/rbpangoglyphstring.c +59 -59
- data/ext/pango/rbpangogravity.c +34 -23
- data/ext/pango/rbpangoitem.c +43 -34
- data/ext/pango/rbpangolanguage.c +44 -34
- data/ext/pango/rbpangolayout.c +167 -160
- data/ext/pango/rbpangolayoutiter.c +70 -59
- data/ext/pango/rbpangolayoutline.c +106 -71
- data/ext/pango/rbpangologattr.c +42 -31
- data/ext/pango/rbpangomatrix.c +47 -35
- data/ext/pango/rbpangoprivate.h +53 -0
- data/ext/pango/rbpangorectangle.c +58 -49
- data/ext/pango/rbpangorenderer.c +81 -70
- data/ext/pango/rbpangoscript.c +37 -27
- data/ext/pango/rbpangoscriptiter.c +32 -22
- data/ext/pango/rbpangotabarray.c +48 -37
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-context.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-language.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +6 -1
- data/vendor/local/include/pango-1.0/pango/pango-renderer.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-script.h +6 -6
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +6 -6
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +2 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +1 -1
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/manifest/{pango-dev_1.28.3-1_win32.mft → pango-dev_1.29.4-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.3-1_win32.mft → pango_1.29.4-1_win32.mft} +2 -2
- data/vendor/local/share/doc/{pango-1.28.3 → pango-1.29.4}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.3 → pango-dev-1.29.4}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +25 -27
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +19 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +42 -60
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +97 -147
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +3 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +8 -11
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +38 -0
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +38 -40
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index.html +6 -5
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +71 -34
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +4 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +52 -50
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +217 -278
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +40 -41
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +37 -49
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +481 -628
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +76 -118
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +302 -452
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +492 -517
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +134 -164
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +34 -45
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +244 -359
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +117 -122
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +112 -120
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +394 -523
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +269 -364
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +26 -40
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +72 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +97 -145
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +114 -188
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +114 -176
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +42 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +106 -150
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +35 -35
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -3
- data/vendor/local/share/man/man1/pango-querymodules.1 +12 -3
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +806 -0
- data/vendor/local/src/{tml/packaging/pango_1.28.3-1_win32.sh → dieterv/packaging/pango_1.29.4-1_win32.sh} +7 -7
- metadata +19 -19
- data/ChangeLog +0 -721
- data/ext/pango/rbpangoinits.c +0 -72
- data/ext/pango/rbpangomain.c +0 -202
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +0 -799
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.log +0 -950
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Text Attributes</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Fonts.html" title="Fonts">
|
10
10
|
<link rel="next" href="pango-Tab-Stops.html" title="Tab Stops">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -24,6 +24,8 @@
|
|
24
24
|
<a href="#pango-Text-Attributes.synopsis" class="shortcut">Top</a>
|
25
25
|
|
|
26
26
|
<a href="#pango-Text-Attributes.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#pango-Text-Attributes.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
27
29
|
</td></tr>
|
28
30
|
</table>
|
29
31
|
<div class="refentry">
|
@@ -37,7 +39,7 @@
|
|
37
39
|
</tr></table></div>
|
38
40
|
<div class="refsynopsisdiv">
|
39
41
|
<a name="pango-Text-Attributes.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">enum <a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType">PangoAttrType</a>;
|
42
|
+
<a name="PangoAttrType"></a><a name="PangoUnderline"></a><a name="PangoColor"></a><a name="PangoAttrList"></a><pre class="synopsis">enum <a class="link" href="pango-Text-Attributes.html#PangoAttrType-enum" title="enum PangoAttrType">PangoAttrType</a>;
|
41
43
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-TYPE:CAPS" title="PANGO_TYPE_ATTR_TYPE">PANGO_TYPE_ATTR_TYPE</a>
|
42
44
|
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass">PangoAttrClass</a>;
|
43
45
|
struct <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute">PangoAttribute</a>;
|
@@ -51,55 +53,55 @@ struct <a class="link" href="pango-Text-Attributes.html#PangoAttrFl
|
|
51
53
|
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc">PangoAttrFontDesc</a>;
|
52
54
|
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape">PangoAttrShape</a>;
|
53
55
|
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>,
|
56
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()">pango_parse_markup</a> (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
|
55
57
|
<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"
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
58
60
|
<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"
|
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"
|
61
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>,
|
62
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
63
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> <a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()">pango_attr_type_register</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
|
64
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()">pango_attr_type_get_name</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
|
63
65
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()">pango_attribute_init</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>,
|
64
66
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass"><span class="type">PangoAttrClass</span></a> *klass</code></em>);
|
65
67
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attribute-copy" title="pango_attribute_copy ()">pango_attribute_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
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>,
|
68
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Text-Attributes.html#pango-attribute-equal" title="pango_attribute_equal ()">pango_attribute_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
|
67
69
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);
|
68
70
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()">pango_attribute_destroy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
69
71
|
|
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"
|
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-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"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
71
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-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"
|
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"
|
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"
|
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"
|
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-style-new" title="pango_attr_style_new ()">pango_attr_style_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> style</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-variant-new" title="pango_attr_variant_new ()">pango_attr_variant_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> variant</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-stretch-new" title="pango_attr_stretch_new ()">pango_attr_stretch_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> stretch</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-weight-new" title="pango_attr_weight_new ()">pango_attr_weight_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);
|
76
78
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new" title="pango_attr_size_new ()">pango_attr_size_new</a> (<em class="parameter"><code><span class="type">int</span> size</code></em>);
|
77
79
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new-absolute" title="pango_attr_size_new_absolute ()">pango_attr_size_new_absolute</a> (<em class="parameter"><code><span class="type">int</span> size</code></em>);
|
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"
|
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"
|
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>);
|
93
|
-
enum <a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline">PangoUnderline</a>;
|
80
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-font-desc-new" title="pango_attr_font_desc_new ()">pango_attr_font_desc_new</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
81
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-foreground-new" title="pango_attr_foreground_new ()">pango_attr_foreground_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
82
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
83
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);
|
84
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-background-new" title="pango_attr_background_new ()">pango_attr_background_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
85
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
86
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);
|
87
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-new" title="pango_attr_strikethrough_new ()">pango_attr_strikethrough_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strikethrough</code></em>);
|
88
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-color-new" title="pango_attr_strikethrough_color_new ()">pango_attr_strikethrough_color_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
89
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
90
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);
|
91
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-new" title="pango_attr_underline_new ()">pango_attr_underline_new</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a> underline</code></em>);
|
92
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-color-new" title="pango_attr_underline_color_new ()">pango_attr_underline_color_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
93
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
94
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);
|
95
|
+
enum <a class="link" href="pango-Text-Attributes.html#PangoUnderline-enum" title="enum PangoUnderline">PangoUnderline</a>;
|
94
96
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-UNDERLINE:CAPS" title="PANGO_TYPE_UNDERLINE">PANGO_TYPE_UNDERLINE</a>
|
95
97
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()">pango_attr_shape_new</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
96
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>);
|
97
99
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()">pango_attr_shape_new_with_data</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
98
100
|
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
|
99
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
101
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
100
102
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
|
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
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);
|
104
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()">*PangoAttrDataCopyFunc</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
|
103
105
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-scale-new" title="pango_attr_scale_new ()">pango_attr_scale_new</a> (<em class="parameter"><code><span class="type">double</span> scale_factor</code></em>);
|
104
106
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-SMALL:CAPS" title="PANGO_SCALE_XX_SMALL">PANGO_SCALE_XX_SMALL</a>
|
105
107
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-SMALL:CAPS" title="PANGO_SCALE_X_SMALL">PANGO_SCALE_X_SMALL</a>
|
@@ -110,56 +112,75 @@ enum <a class="link" href="pango-Text-Attributes.html#PangoUnderl
|
|
110
112
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-LARGE:CAPS" title="PANGO_SCALE_XX_LARGE">PANGO_SCALE_XX_LARGE</a>
|
111
113
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-rise-new" title="pango_attr_rise_new ()">pango_attr_rise_new</a> (<em class="parameter"><code><span class="type">int</span> rise</code></em>);
|
112
114
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-letter-spacing-new" title="pango_attr_letter_spacing_new ()">pango_attr_letter_spacing_new</a> (<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);
|
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"
|
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"
|
116
|
-
struct <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor">PangoColor</a>;
|
115
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-fallback-new" title="pango_attr_fallback_new ()">pango_attr_fallback_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable_fallback</code></em>);
|
116
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-new" title="pango_attr_gravity_new ()">pango_attr_gravity_new</a> (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
|
117
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-hint-new" title="pango_attr_gravity_hint_new ()">pango_attr_gravity_hint_new</a> (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);
|
118
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoColor-struct" title="struct PangoColor">PangoColor</a>;
|
117
119
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-COLOR:CAPS" title="PANGO_TYPE_COLOR">PANGO_TYPE_COLOR</a>
|
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"
|
120
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Text-Attributes.html#pango-color-parse" title="pango_color_parse ()">pango_color_parse</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
119
121
|
<em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);
|
120
|
-
<a class="link" href="pango-Text-Attributes.html#PangoColor"
|
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"
|
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"
|
122
|
+
<a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="returnvalue">PangoColor</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()">pango_color_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *src</code></em>);
|
123
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()">pango_color_free</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
|
124
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-color-to-string" title="pango_color_to_string ()">pango_color_to_string</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
|
123
125
|
|
124
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList">PangoAttrList</a>;
|
126
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList-struct" title="PangoAttrList">PangoAttrList</a>;
|
125
127
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-LIST:CAPS" title="PANGO_TYPE_ATTR_LIST">PANGO_TYPE_ATTR_LIST</a>
|
126
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
127
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
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"
|
129
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
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"
|
128
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-new" title="pango_attr_list_new ()">pango_attr_list_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
129
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-ref" title="pango_attr_list_ref ()">pango_attr_list_ref</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#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-unref" title="pango_attr_list_unref ()">pango_attr_list_unref</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
131
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-copy" title="pango_attr_list_copy ()">pango_attr_list_copy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
132
|
+
<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"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
131
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>);
|
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"
|
134
|
+
<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"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
133
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>);
|
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"
|
136
|
+
<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"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
135
137
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
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"
|
137
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
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"
|
138
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-splice" title="pango_attr_list_splice ()">pango_attr_list_splice</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
139
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
|
140
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>,
|
141
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);
|
142
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-filter" title="pango_attr_list_filter ()">pango_attr_list_filter</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
141
143
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
|
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"
|
144
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
145
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()">*PangoAttrFilterFunc</a>) (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
|
146
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
147
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-get-iterator" title="pango_attr_list_get_iterator ()">pango_attr_list_get_iterator</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
146
148
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator">PangoAttrIterator</a>;
|
147
149
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-copy" title="pango_attr_iterator_copy ()">pango_attr_iterator_copy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
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>);
|
150
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-next" title="pango_attr_iterator_next ()">pango_attr_iterator_next</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
149
151
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-range" title="pango_attr_iterator_range ()">pango_attr_iterator_range</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
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
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start</code></em>,
|
153
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end</code></em>);
|
152
154
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get" title="pango_attr_iterator_get ()">pango_attr_iterator_get</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
153
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"
|
155
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
|
154
156
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-font" title="pango_attr_iterator_get_font ()">pango_attr_iterator_get_font</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
155
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
156
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
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>);
|
157
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
158
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
|
159
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **extra_attrs</code></em>);
|
160
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-attrs" title="pango_attr_iterator_get_attrs ()">pango_attr_iterator_get_attrs</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
159
161
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()">pango_attr_iterator_destroy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
160
162
|
</pre>
|
161
163
|
</div>
|
162
164
|
<div class="refsect1">
|
165
|
+
<a name="pango-Text-Attributes.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
166
|
+
<pre class="synopsis">
|
167
|
+
GEnum
|
168
|
+
+----PangoAttrType
|
169
|
+
</pre>
|
170
|
+
<pre class="synopsis">
|
171
|
+
GEnum
|
172
|
+
+----PangoUnderline
|
173
|
+
</pre>
|
174
|
+
<pre class="synopsis">
|
175
|
+
GBoxed
|
176
|
+
+----PangoColor
|
177
|
+
</pre>
|
178
|
+
<pre class="synopsis">
|
179
|
+
GBoxed
|
180
|
+
+----PangoAttrList
|
181
|
+
</pre>
|
182
|
+
</div>
|
183
|
+
<div class="refsect1">
|
163
184
|
<a name="pango-Text-Attributes.description"></a><h2>Description</h2>
|
164
185
|
<p>
|
165
186
|
Attributed text is used in a number of places in Pango. It
|
@@ -172,9 +193,8 @@ of attributes applied to a portion of text.
|
|
172
193
|
<div class="refsect1">
|
173
194
|
<a name="pango-Text-Attributes.details"></a><h2>Details</h2>
|
174
195
|
<div class="refsect2">
|
175
|
-
<a name="PangoAttrType"></a><h3>enum PangoAttrType</h3>
|
176
|
-
<pre class="programlisting">typedef enum
|
177
|
-
{
|
196
|
+
<a name="PangoAttrType-enum"></a><h3>enum PangoAttrType</h3>
|
197
|
+
<pre class="programlisting">typedef enum {
|
178
198
|
PANGO_ATTR_INVALID, /* 0 is an invalid attribute type */
|
179
199
|
PANGO_ATTR_LANGUAGE, /* PangoAttrLanguage */
|
180
200
|
PANGO_ATTR_FAMILY, /* PangoAttrString */
|
@@ -201,7 +221,7 @@ of attributes applied to a portion of text.
|
|
201
221
|
} PangoAttrType;
|
202
222
|
</pre>
|
203
223
|
<p>
|
204
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrType"
|
224
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a>
|
205
225
|
distinguishes between different types of attributes. Along with the
|
206
226
|
predefined values, it is possible to allocate additional values
|
207
227
|
for custom attributes using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()"><code class="function">pango_attr_type_register()</code></a>. The predefined
|
@@ -335,7 +355,7 @@ attribute is listed in parentheses after the description.
|
|
335
355
|
<pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
|
336
356
|
</pre>
|
337
357
|
<p>
|
338
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrType"
|
358
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a>.
|
339
359
|
</p>
|
340
360
|
</div>
|
341
361
|
<hr>
|
@@ -358,24 +378,20 @@ provided for <a class="link" href="pango-Text-Attributes.html#PangoAttribute" ti
|
|
358
378
|
<col align="left" valign="top">
|
359
379
|
<tbody>
|
360
380
|
<tr>
|
361
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"
|
362
|
-
<td>the type ID for this attribute
|
363
|
-
</td>
|
381
|
+
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> <em class="structfield"><code><a name="PangoAttrClass.type"></a>type</code></em>;</span></p></td>
|
382
|
+
<td>the type ID for this attribute</td>
|
364
383
|
</tr>
|
365
384
|
<tr>
|
366
385
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoAttrClass.copy"></a>copy</code></em> ()</span></p></td>
|
367
|
-
<td>function to duplicate an attribute of this type (see <a class="link" href="pango-Text-Attributes.html#pango-attribute-copy" title="pango_attribute_copy ()"><code class="function">pango_attribute_copy()</code></a>)
|
368
|
-
</td>
|
386
|
+
<td>function to duplicate an attribute of this type (see <a class="link" href="pango-Text-Attributes.html#pango-attribute-copy" title="pango_attribute_copy ()"><code class="function">pango_attribute_copy()</code></a>)</td>
|
369
387
|
</tr>
|
370
388
|
<tr>
|
371
389
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoAttrClass.destroy"></a>destroy</code></em> ()</span></p></td>
|
372
|
-
<td>function to free an attribute of this type (see <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>)
|
373
|
-
</td>
|
390
|
+
<td>function to free an attribute of this type (see <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>)</td>
|
374
391
|
</tr>
|
375
392
|
<tr>
|
376
393
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoAttrClass.equal"></a>equal</code></em> ()</span></p></td>
|
377
|
-
<td>function to check two attributes of this type for equality (see <a class="link" href="pango-Text-Attributes.html#pango-attribute-equal" title="pango_attribute_equal ()"><code class="function">pango_attribute_equal()</code></a>)
|
378
|
-
</td>
|
394
|
+
<td>function to check two attributes of this type for equality (see <a class="link" href="pango-Text-Attributes.html#pango-attribute-equal" title="pango_attribute_equal ()"><code class="function">pango_attribute_equal()</code></a>)</td>
|
379
395
|
</tr>
|
380
396
|
</tbody>
|
381
397
|
</table></div>
|
@@ -395,26 +411,23 @@ attributes. Particular types of attributes include this structure
|
|
395
411
|
as their initial portion. The common portion of the attribute holds
|
396
412
|
the range to which the value in the type-specific part of the attribute
|
397
413
|
applies and should be initialized using <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()"><code class="function">pango_attribute_init()</code></a>.
|
398
|
-
By default an attribute will have an all-inclusive range of [0,<code class="literal">G_MAXUINT</code>].
|
414
|
+
By default an attribute will have an all-inclusive range of [0,<a href="http://library.gnome.org/devel/glib/unstable/glib-Limits-of-Basic-Types.html#G-MAXUINT:CAPS"><code class="literal">G_MAXUINT</code></a>].
|
399
415
|
</p>
|
400
416
|
<div class="variablelist"><table border="0">
|
401
417
|
<col align="left" valign="top">
|
402
418
|
<tbody>
|
403
419
|
<tr>
|
404
420
|
<td><p><span class="term">const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass"><span class="type">PangoAttrClass</span></a> *<em class="structfield"><code><a name="PangoAttribute.klass"></a>klass</code></em>;</span></p></td>
|
405
|
-
<td>the class structure holding information about the type of the attribute
|
406
|
-
</td>
|
421
|
+
<td>the class structure holding information about the type of the attribute</td>
|
407
422
|
</tr>
|
408
423
|
<tr>
|
409
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttribute.start-index"></a>start_index</code></em>;</span></p></td>
|
410
|
-
<td>the start index of the range (in bytes)
|
411
|
-
</td>
|
424
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttribute.start-index"></a>start_index</code></em>;</span></p></td>
|
425
|
+
<td>the start index of the range (in bytes).</td>
|
412
426
|
</tr>
|
413
427
|
<tr>
|
414
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttribute.end-index"></a>end_index</code></em>;</span></p></td>
|
428
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttribute.end-index"></a>end_index</code></em>;</span></p></td>
|
415
429
|
<td>end index of the range (in bytes). The character at this index
|
416
|
-
|
417
|
-
</td>
|
430
|
+
is not included in the range.</td>
|
418
431
|
</tr>
|
419
432
|
</tbody>
|
420
433
|
</table></div>
|
@@ -456,13 +469,11 @@ a string value.
|
|
456
469
|
<tbody>
|
457
470
|
<tr>
|
458
471
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrString.attr"></a>attr</code></em>;</span></p></td>
|
459
|
-
<td>the common portion of the attribute
|
460
|
-
</td>
|
472
|
+
<td>the common portion of the attribute</td>
|
461
473
|
</tr>
|
462
474
|
<tr>
|
463
475
|
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="PangoAttrString.value"></a>value</code></em>;</span></p></td>
|
464
|
-
<td>the string which is the value of the attribute
|
465
|
-
</td>
|
476
|
+
<td>the string which is the value of the attribute</td>
|
466
477
|
</tr>
|
467
478
|
</tbody>
|
468
479
|
</table></div>
|
@@ -484,13 +495,11 @@ are languages.
|
|
484
495
|
<tbody>
|
485
496
|
<tr>
|
486
497
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrLanguage.attr"></a>attr</code></em>;</span></p></td>
|
487
|
-
<td>the common portion of the attribute
|
488
|
-
</td>
|
498
|
+
<td>the common portion of the attribute</td>
|
489
499
|
</tr>
|
490
500
|
<tr>
|
491
|
-
<td><p><span class="term"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
492
|
-
<td>the <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
493
|
-
</td>
|
501
|
+
<td><p><span class="term"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *<em class="structfield"><code><a name="PangoAttrLanguage.value"></a>value</code></em>;</span></p></td>
|
502
|
+
<td>the <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> which is the value of the attribute</td>
|
494
503
|
</tr>
|
495
504
|
</tbody>
|
496
505
|
</table></div>
|
@@ -512,13 +521,11 @@ are colors.
|
|
512
521
|
<tbody>
|
513
522
|
<tr>
|
514
523
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrColor.attr"></a>attr</code></em>;</span></p></td>
|
515
|
-
<td>the common portion of the attribute
|
516
|
-
</td>
|
524
|
+
<td>the common portion of the attribute</td>
|
517
525
|
</tr>
|
518
526
|
<tr>
|
519
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoColor"
|
520
|
-
<td>the <a class="link" href="pango-Text-Attributes.html#PangoColor"
|
521
|
-
</td>
|
527
|
+
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> <em class="structfield"><code><a name="PangoAttrColor.color"></a>color</code></em>;</span></p></td>
|
528
|
+
<td>the <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> which is the value of the attribute</td>
|
522
529
|
</tr>
|
523
530
|
</tbody>
|
524
531
|
</table></div>
|
@@ -540,13 +547,11 @@ an integer or enumeration value.
|
|
540
547
|
<tbody>
|
541
548
|
<tr>
|
542
549
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrInt.attr"></a>attr</code></em>;</span></p></td>
|
543
|
-
<td>the common portion of the attribute
|
544
|
-
</td>
|
550
|
+
<td>the common portion of the attribute</td>
|
545
551
|
</tr>
|
546
552
|
<tr>
|
547
553
|
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoAttrInt.value"></a>value</code></em>;</span></p></td>
|
548
|
-
<td>the value of the attribute
|
549
|
-
</td>
|
554
|
+
<td>the value of the attribute</td>
|
550
555
|
</tr>
|
551
556
|
</tbody>
|
552
557
|
</table></div>
|
@@ -568,13 +573,11 @@ a float or double value.
|
|
568
573
|
<tbody>
|
569
574
|
<tr>
|
570
575
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrFloat.attr"></a>attr</code></em>;</span></p></td>
|
571
|
-
<td>the common portion of the attribute
|
572
|
-
</td>
|
576
|
+
<td>the common portion of the attribute</td>
|
573
577
|
</tr>
|
574
578
|
<tr>
|
575
579
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoAttrFloat.value"></a>value</code></em>;</span></p></td>
|
576
|
-
<td>the value of the attribute
|
577
|
-
</td>
|
580
|
+
<td>the value of the attribute</td>
|
578
581
|
</tr>
|
579
582
|
</tbody>
|
580
583
|
</table></div>
|
@@ -596,13 +599,11 @@ sets all aspects of the font description at once.
|
|
596
599
|
<tbody>
|
597
600
|
<tr>
|
598
601
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrFontDesc.attr"></a>attr</code></em>;</span></p></td>
|
599
|
-
<td>the common portion of the attribute
|
600
|
-
</td>
|
602
|
+
<td>the common portion of the attribute</td>
|
601
603
|
</tr>
|
602
604
|
<tr>
|
603
|
-
<td><p><span class="term"><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
604
|
-
<td>the font description which is the value of this attribute
|
605
|
-
</td>
|
605
|
+
<td><p><span class="term"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *<em class="structfield"><code><a name="PangoAttrFontDesc.desc"></a>desc</code></em>;</span></p></td>
|
606
|
+
<td>the font description which is the value of this attribute</td>
|
606
607
|
</tr>
|
607
608
|
</tbody>
|
608
609
|
</table></div>
|
@@ -629,33 +630,27 @@ impose shape restrictions.
|
|
629
630
|
<tbody>
|
630
631
|
<tr>
|
631
632
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrShape.attr"></a>attr</code></em>;</span></p></td>
|
632
|
-
<td>the common portion of the attribute
|
633
|
-
</td>
|
633
|
+
<td>the common portion of the attribute</td>
|
634
634
|
</tr>
|
635
635
|
<tr>
|
636
636
|
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> <em class="structfield"><code><a name="PangoAttrShape.ink-rect"></a>ink_rect</code></em>;</span></p></td>
|
637
|
-
<td>the ink rectangle to restrict to
|
638
|
-
</td>
|
637
|
+
<td>the ink rectangle to restrict to</td>
|
639
638
|
</tr>
|
640
639
|
<tr>
|
641
640
|
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> <em class="structfield"><code><a name="PangoAttrShape.logical-rect"></a>logical_rect</code></em>;</span></p></td>
|
642
|
-
<td>the logical rectangle to restrict to
|
643
|
-
</td>
|
641
|
+
<td>the logical rectangle to restrict to</td>
|
644
642
|
</tr>
|
645
643
|
<tr>
|
646
|
-
<td><p><span class="term"><span class="type">gpointer</span> <em class="structfield"><code><a name="PangoAttrShape.data"></a>data</code></em>;</span></p></td>
|
647
|
-
<td>user data set (see <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()"><code class="function">pango_attr_shape_new_with_data()</code></a>)
|
648
|
-
</td>
|
644
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="PangoAttrShape.data"></a>data</code></em>;</span></p></td>
|
645
|
+
<td>user data set (see <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()"><code class="function">pango_attr_shape_new_with_data()</code></a>)</td>
|
649
646
|
</tr>
|
650
647
|
<tr>
|
651
648
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> <em class="structfield"><code><a name="PangoAttrShape.copy-func"></a>copy_func</code></em>;</span></p></td>
|
652
|
-
<td>copy function for the user data
|
653
|
-
</td>
|
649
|
+
<td>copy function for the user data</td>
|
654
650
|
</tr>
|
655
651
|
<tr>
|
656
|
-
<td><p><span class="term"><span class="type">GDestroyNotify</span> <em class="structfield"><code><a name="PangoAttrShape.destroy-func"></a>destroy_func</code></em>;</span></p></td>
|
657
|
-
<td>destroy function for the user data
|
658
|
-
</td>
|
652
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> <em class="structfield"><code><a name="PangoAttrShape.destroy-func"></a>destroy_func</code></em>;</span></p></td>
|
653
|
+
<td>destroy function for the user data</td>
|
659
654
|
</tr>
|
660
655
|
</tbody>
|
661
656
|
</table></div>
|
@@ -678,22 +673,19 @@ set font size.
|
|
678
673
|
<tbody>
|
679
674
|
<tr>
|
680
675
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrSize.attr"></a>attr</code></em>;</span></p></td>
|
681
|
-
<td>the common portion of the attribute
|
682
|
-
</td>
|
676
|
+
<td>the common portion of the attribute</td>
|
683
677
|
</tr>
|
684
678
|
<tr>
|
685
679
|
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoAttrSize.size"></a>size</code></em>;</span></p></td>
|
686
680
|
<td>size of font, in units of 1/<a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> of a point (for
|
687
|
-
|
688
|
-
</td>
|
681
|
+
<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a>) or of a device uni (for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>)</td>
|
689
682
|
</tr>
|
690
683
|
<tr>
|
691
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttrSize.absolute"></a>absolute</code></em> : 1;</span></p></td>
|
684
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttrSize.absolute"></a>absolute</code></em> : 1;</span></p></td>
|
692
685
|
<td>whether the font size is in device units or points.
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
</td>
|
686
|
+
This field is only present for compatibility with Pango-1.8.0
|
687
|
+
(<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a> was added in 1.8.1); and always will
|
688
|
+
be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a> and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>.</td>
|
697
689
|
</tr>
|
698
690
|
</tbody>
|
699
691
|
</table></div>
|
@@ -701,13 +693,13 @@ set font size.
|
|
701
693
|
<hr>
|
702
694
|
<div class="refsect2">
|
703
695
|
<a name="pango-parse-markup"></a><h3>pango_parse_markup ()</h3>
|
704
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_markup (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
|
696
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_parse_markup (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
|
705
697
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
706
|
-
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
707
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
698
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
|
699
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
708
700
|
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
|
709
|
-
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
|
710
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
701
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>,
|
702
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
711
703
|
<p>
|
712
704
|
Parses marked-up text (see
|
713
705
|
<a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>) to create
|
@@ -731,42 +723,40 @@ for <em class="parameter"><code>error</code></em>.
|
|
731
723
|
<tbody>
|
732
724
|
<tr>
|
733
725
|
<td><p><span class="term"><em class="parameter"><code>markup_text</code></em> :</span></p></td>
|
734
|
-
<td>markup to parse (see <a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>)
|
735
|
-
</td>
|
726
|
+
<td>markup to parse (see <a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>)</td>
|
736
727
|
</tr>
|
737
728
|
<tr>
|
738
729
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
739
|
-
<td>length of <em class="parameter"><code>markup_text</code></em>, or -1 if nul-terminated
|
740
|
-
</td>
|
730
|
+
<td>length of <em class="parameter"><code>markup_text</code></em>, or -1 if nul-terminated</td>
|
741
731
|
</tr>
|
742
732
|
<tr>
|
743
733
|
<td><p><span class="term"><em class="parameter"><code>accel_marker</code></em> :</span></p></td>
|
744
|
-
<td>character that precedes an accelerator, or 0 for none
|
745
|
-
</td>
|
734
|
+
<td>character that precedes an accelerator, or 0 for none</td>
|
746
735
|
</tr>
|
747
736
|
<tr>
|
748
737
|
<td><p><span class="term"><em class="parameter"><code>attr_list</code></em> :</span></p></td>
|
749
|
-
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
738
|
+
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
750
739
|
</td>
|
751
740
|
</tr>
|
752
741
|
<tr>
|
753
742
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
754
|
-
<td>address of return location for text with tags stripped, or <a href="/
|
743
|
+
<td>address of return location for text with tags stripped, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
755
744
|
</td>
|
756
745
|
</tr>
|
757
746
|
<tr>
|
758
747
|
<td><p><span class="term"><em class="parameter"><code>accel_char</code></em> :</span></p></td>
|
759
|
-
<td>address of return location for accelerator char, or <a href="/
|
748
|
+
<td>address of return location for accelerator char, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
760
749
|
</td>
|
761
750
|
</tr>
|
762
751
|
<tr>
|
763
752
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
764
|
-
<td>address of return location for errors, or <a href="/
|
753
|
+
<td>address of return location for errors, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
765
754
|
</td>
|
766
755
|
</tr>
|
767
756
|
<tr>
|
768
757
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
769
|
-
<td>
|
758
|
+
<td>
|
759
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
770
760
|
</td>
|
771
761
|
</tr>
|
772
762
|
</tbody>
|
@@ -775,7 +765,7 @@ for <em class="parameter"><code>error</code></em>.
|
|
775
765
|
<hr>
|
776
766
|
<div class="refsect2">
|
777
767
|
<a name="pango-attr-type-register"></a><h3>pango_attr_type_register ()</h3>
|
778
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"
|
768
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> pango_attr_type_register (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
779
769
|
<p>
|
780
770
|
Allocate a new attribute type ID. The attribute type name can be accessed
|
781
771
|
later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()"><code class="function">pango_attr_type_get_name()</code></a>.
|
@@ -785,13 +775,11 @@ later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-
|
|
785
775
|
<tbody>
|
786
776
|
<tr>
|
787
777
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
788
|
-
<td>an identifier for the type
|
789
|
-
</td>
|
778
|
+
<td>an identifier for the type</td>
|
790
779
|
</tr>
|
791
780
|
<tr>
|
792
781
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
793
|
-
<td>
|
794
|
-
</td>
|
782
|
+
<td>the new type ID.</td>
|
795
783
|
</tr>
|
796
784
|
</tbody>
|
797
785
|
</table></div>
|
@@ -799,13 +787,13 @@ later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-
|
|
799
787
|
<hr>
|
800
788
|
<div class="refsect2">
|
801
789
|
<a name="pango-attr-type-get-name"></a><h3>pango_attr_type_get_name ()</h3>
|
802
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_attr_type_get_name (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"
|
790
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_attr_type_get_name (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);</pre>
|
803
791
|
<p>
|
804
792
|
Fetches the attribute type name passed in when registering the type using
|
805
793
|
<a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()"><code class="function">pango_attr_type_register()</code></a>.
|
806
794
|
</p>
|
807
795
|
<p>
|
808
|
-
The returned value is an interned string (see <code class="function">g_intern_string()</code> for what
|
796
|
+
The returned value is an interned string (see <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#g-intern-string"><code class="function">g_intern_string()</code></a> for what
|
809
797
|
that means) that should not be modified or freed.
|
810
798
|
</p>
|
811
799
|
<div class="variablelist"><table border="0">
|
@@ -813,15 +801,12 @@ that means) that should not be modified or freed.
|
|
813
801
|
<tbody>
|
814
802
|
<tr>
|
815
803
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
816
|
-
<td>an attribute type ID to fetch the name for
|
817
|
-
</td>
|
804
|
+
<td>an attribute type ID to fetch the name for</td>
|
818
805
|
</tr>
|
819
806
|
<tr>
|
820
807
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
821
|
-
<td>
|
822
|
-
a built-in Pango attribute type or invalid
|
823
|
-
|
824
|
-
</td>
|
808
|
+
<td>the type ID name (which may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>), or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>type</code></em> is
|
809
|
+
a built-in Pango attribute type or invalid.</td>
|
825
810
|
</tr>
|
826
811
|
</tbody>
|
827
812
|
</table></div>
|
@@ -873,9 +858,8 @@ Make a copy of an attribute.
|
|
873
858
|
</tr>
|
874
859
|
<tr>
|
875
860
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
876
|
-
<td>
|
877
|
-
|
878
|
-
</td>
|
861
|
+
<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
|
862
|
+
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>.</td>
|
879
863
|
</tr>
|
880
864
|
</tbody>
|
881
865
|
</table></div>
|
@@ -883,7 +867,7 @@ Make a copy of an attribute.
|
|
883
867
|
<hr>
|
884
868
|
<div class="refsect2">
|
885
869
|
<a name="pango-attribute-equal"></a><h3>pango_attribute_equal ()</h3>
|
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>,
|
870
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_attribute_equal (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
|
887
871
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);</pre>
|
888
872
|
<p>
|
889
873
|
Compare two attributes for equality. This compares only the
|
@@ -905,8 +889,8 @@ attributes apply to.
|
|
905
889
|
</tr>
|
906
890
|
<tr>
|
907
891
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
908
|
-
<td>
|
909
|
-
</td>
|
892
|
+
<td>
|
893
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two attributes have the same value.</td>
|
910
894
|
</tr>
|
911
895
|
</tbody>
|
912
896
|
</table></div>
|
@@ -922,15 +906,14 @@ Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title
|
|
922
906
|
<col align="left" valign="top">
|
923
907
|
<tbody><tr>
|
924
908
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
925
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a
|
926
|
-
</td>
|
909
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>.</td>
|
927
910
|
</tr></tbody>
|
928
911
|
</table></div>
|
929
912
|
</div>
|
930
913
|
<hr>
|
931
914
|
<div class="refsect2">
|
932
915
|
<a name="pango-attr-language-new"></a><h3>pango_attr_language_new ()</h3>
|
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"
|
916
|
+
<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"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
934
917
|
<p>
|
935
918
|
Create a new language tag attribute.
|
936
919
|
</p>
|
@@ -939,14 +922,12 @@ Create a new language tag attribute.
|
|
939
922
|
<tbody>
|
940
923
|
<tr>
|
941
924
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
942
|
-
<td>language tag
|
943
|
-
</td>
|
925
|
+
<td>language tag</td>
|
944
926
|
</tr>
|
945
927
|
<tr>
|
946
928
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
947
|
-
<td>
|
948
|
-
|
949
|
-
</td>
|
929
|
+
<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
|
930
|
+
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>.</td>
|
950
931
|
</tr>
|
951
932
|
</tbody>
|
952
933
|
</table></div>
|
@@ -963,14 +944,12 @@ Create a new font family attribute.
|
|
963
944
|
<tbody>
|
964
945
|
<tr>
|
965
946
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
966
|
-
<td>the family or comma separated list of families
|
967
|
-
</td>
|
947
|
+
<td>the family or comma separated list of families</td>
|
968
948
|
</tr>
|
969
949
|
<tr>
|
970
950
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
971
|
-
<td>
|
972
|
-
|
973
|
-
</td>
|
951
|
+
<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
|
952
|
+
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>.</td>
|
974
953
|
</tr>
|
975
954
|
</tbody>
|
976
955
|
</table></div>
|
@@ -978,7 +957,7 @@ Create a new font family attribute.
|
|
978
957
|
<hr>
|
979
958
|
<div class="refsect2">
|
980
959
|
<a name="pango-attr-style-new"></a><h3>pango_attr_style_new ()</h3>
|
981
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_style_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"
|
960
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_style_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);</pre>
|
982
961
|
<p>
|
983
962
|
Create a new font slant style attribute.
|
984
963
|
</p>
|
@@ -987,14 +966,12 @@ Create a new font slant style attribute.
|
|
987
966
|
<tbody>
|
988
967
|
<tr>
|
989
968
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
990
|
-
<td>the slant style
|
991
|
-
</td>
|
969
|
+
<td>the slant style</td>
|
992
970
|
</tr>
|
993
971
|
<tr>
|
994
972
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
995
|
-
<td>
|
996
|
-
|
997
|
-
</td>
|
973
|
+
<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
|
974
|
+
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>.</td>
|
998
975
|
</tr>
|
999
976
|
</tbody>
|
1000
977
|
</table></div>
|
@@ -1002,7 +979,7 @@ Create a new font slant style attribute.
|
|
1002
979
|
<hr>
|
1003
980
|
<div class="refsect2">
|
1004
981
|
<a name="pango-attr-variant-new"></a><h3>pango_attr_variant_new ()</h3>
|
1005
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_variant_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"
|
982
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_variant_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);</pre>
|
1006
983
|
<p>
|
1007
984
|
Create a new font variant attribute (normal or small caps)
|
1008
985
|
</p>
|
@@ -1011,14 +988,12 @@ Create a new font variant attribute (normal or small caps)
|
|
1011
988
|
<tbody>
|
1012
989
|
<tr>
|
1013
990
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
1014
|
-
<td>the variant
|
1015
|
-
</td>
|
991
|
+
<td>the variant</td>
|
1016
992
|
</tr>
|
1017
993
|
<tr>
|
1018
994
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1019
|
-
<td>
|
1020
|
-
|
1021
|
-
</td>
|
995
|
+
<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
|
996
|
+
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>.</td>
|
1022
997
|
</tr>
|
1023
998
|
</tbody>
|
1024
999
|
</table></div>
|
@@ -1026,7 +1001,7 @@ Create a new font variant attribute (normal or small caps)
|
|
1026
1001
|
<hr>
|
1027
1002
|
<div class="refsect2">
|
1028
1003
|
<a name="pango-attr-stretch-new"></a><h3>pango_attr_stretch_new ()</h3>
|
1029
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_stretch_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"
|
1004
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_stretch_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);</pre>
|
1030
1005
|
<p>
|
1031
1006
|
Create a new font stretch attribute
|
1032
1007
|
</p>
|
@@ -1035,14 +1010,12 @@ Create a new font stretch attribute
|
|
1035
1010
|
<tbody>
|
1036
1011
|
<tr>
|
1037
1012
|
<td><p><span class="term"><em class="parameter"><code>stretch</code></em> :</span></p></td>
|
1038
|
-
<td>the stretch
|
1039
|
-
</td>
|
1013
|
+
<td>the stretch</td>
|
1040
1014
|
</tr>
|
1041
1015
|
<tr>
|
1042
1016
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1043
|
-
<td>
|
1044
|
-
|
1045
|
-
</td>
|
1017
|
+
<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
|
1018
|
+
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>.</td>
|
1046
1019
|
</tr>
|
1047
1020
|
</tbody>
|
1048
1021
|
</table></div>
|
@@ -1050,7 +1023,7 @@ Create a new font stretch attribute
|
|
1050
1023
|
<hr>
|
1051
1024
|
<div class="refsect2">
|
1052
1025
|
<a name="pango-attr-weight-new"></a><h3>pango_attr_weight_new ()</h3>
|
1053
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_weight_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"
|
1026
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_weight_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);</pre>
|
1054
1027
|
<p>
|
1055
1028
|
Create a new font weight attribute.
|
1056
1029
|
</p>
|
@@ -1059,14 +1032,12 @@ Create a new font weight attribute.
|
|
1059
1032
|
<tbody>
|
1060
1033
|
<tr>
|
1061
1034
|
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
1062
|
-
<td>the weight
|
1063
|
-
</td>
|
1035
|
+
<td>the weight</td>
|
1064
1036
|
</tr>
|
1065
1037
|
<tr>
|
1066
1038
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1067
|
-
<td>
|
1068
|
-
|
1069
|
-
</td>
|
1039
|
+
<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
|
1040
|
+
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>.</td>
|
1070
1041
|
</tr>
|
1071
1042
|
</tbody>
|
1072
1043
|
</table></div>
|
@@ -1083,14 +1054,12 @@ Create a new font-size attribute in fractional points.
|
|
1083
1054
|
<tbody>
|
1084
1055
|
<tr>
|
1085
1056
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1086
|
-
<td>the font size, in <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>ths of a point
|
1087
|
-
</td>
|
1057
|
+
<td>the font size, in <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>ths of a point.</td>
|
1088
1058
|
</tr>
|
1089
1059
|
<tr>
|
1090
1060
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1091
|
-
<td>
|
1092
|
-
|
1093
|
-
</td>
|
1061
|
+
<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
|
1062
|
+
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>.</td>
|
1094
1063
|
</tr>
|
1095
1064
|
</tbody>
|
1096
1065
|
</table></div>
|
@@ -1107,15 +1076,12 @@ Create a new font-size attribute in device units.
|
|
1107
1076
|
<tbody>
|
1108
1077
|
<tr>
|
1109
1078
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1110
|
-
<td>the font size, in <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>ths of a device unit
|
1111
|
-
</td>
|
1079
|
+
<td>the font size, in <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>ths of a device unit.</td>
|
1112
1080
|
</tr>
|
1113
1081
|
<tr>
|
1114
1082
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1115
|
-
<td>
|
1116
|
-
|
1117
|
-
|
1118
|
-
</td>
|
1083
|
+
<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
|
1084
|
+
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>.</td>
|
1119
1085
|
</tr>
|
1120
1086
|
</tbody>
|
1121
1087
|
</table></div>
|
@@ -1124,7 +1090,7 @@ Create a new font-size attribute in device units.
|
|
1124
1090
|
<hr>
|
1125
1091
|
<div class="refsect2">
|
1126
1092
|
<a name="pango-attr-font-desc-new"></a><h3>pango_attr_font_desc_new ()</h3>
|
1127
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_font_desc_new (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1093
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_font_desc_new (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1128
1094
|
<p>
|
1129
1095
|
Create a new font description attribute. This attribute
|
1130
1096
|
allows setting family, style, weight, variant, stretch,
|
@@ -1135,14 +1101,12 @@ and size simultaneously.
|
|
1135
1101
|
<tbody>
|
1136
1102
|
<tr>
|
1137
1103
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1138
|
-
<td>the font description
|
1139
|
-
</td>
|
1104
|
+
<td>the font description</td>
|
1140
1105
|
</tr>
|
1141
1106
|
<tr>
|
1142
1107
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1143
|
-
<td>
|
1144
|
-
|
1145
|
-
</td>
|
1108
|
+
<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
|
1109
|
+
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>.</td>
|
1146
1110
|
</tr>
|
1147
1111
|
</tbody>
|
1148
1112
|
</table></div>
|
@@ -1150,9 +1114,9 @@ and size simultaneously.
|
|
1150
1114
|
<hr>
|
1151
1115
|
<div class="refsect2">
|
1152
1116
|
<a name="pango-attr-foreground-new"></a><h3>pango_attr_foreground_new ()</h3>
|
1153
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_foreground_new (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
1154
|
-
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
1155
|
-
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
|
1117
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_foreground_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
1118
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
1119
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
|
1156
1120
|
<p>
|
1157
1121
|
Create a new foreground color attribute.
|
1158
1122
|
</p>
|
@@ -1161,24 +1125,20 @@ Create a new foreground color attribute.
|
|
1161
1125
|
<tbody>
|
1162
1126
|
<tr>
|
1163
1127
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1164
|
-
<td>the red value (ranging from 0 to 65535)
|
1165
|
-
</td>
|
1128
|
+
<td>the red value (ranging from 0 to 65535)</td>
|
1166
1129
|
</tr>
|
1167
1130
|
<tr>
|
1168
1131
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1169
|
-
<td>the green value
|
1170
|
-
</td>
|
1132
|
+
<td>the green value</td>
|
1171
1133
|
</tr>
|
1172
1134
|
<tr>
|
1173
1135
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1174
|
-
<td>the blue value
|
1175
|
-
</td>
|
1136
|
+
<td>the blue value</td>
|
1176
1137
|
</tr>
|
1177
1138
|
<tr>
|
1178
1139
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1179
|
-
<td>
|
1180
|
-
|
1181
|
-
</td>
|
1140
|
+
<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
|
1141
|
+
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>.</td>
|
1182
1142
|
</tr>
|
1183
1143
|
</tbody>
|
1184
1144
|
</table></div>
|
@@ -1186,9 +1146,9 @@ Create a new foreground color attribute.
|
|
1186
1146
|
<hr>
|
1187
1147
|
<div class="refsect2">
|
1188
1148
|
<a name="pango-attr-background-new"></a><h3>pango_attr_background_new ()</h3>
|
1189
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_background_new (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
1190
|
-
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
1191
|
-
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
|
1149
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_background_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
1150
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
1151
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
|
1192
1152
|
<p>
|
1193
1153
|
Create a new background color attribute.
|
1194
1154
|
</p>
|
@@ -1197,24 +1157,20 @@ Create a new background color attribute.
|
|
1197
1157
|
<tbody>
|
1198
1158
|
<tr>
|
1199
1159
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1200
|
-
<td>the red value (ranging from 0 to 65535)
|
1201
|
-
</td>
|
1160
|
+
<td>the red value (ranging from 0 to 65535)</td>
|
1202
1161
|
</tr>
|
1203
1162
|
<tr>
|
1204
1163
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1205
|
-
<td>the green value
|
1206
|
-
</td>
|
1164
|
+
<td>the green value</td>
|
1207
1165
|
</tr>
|
1208
1166
|
<tr>
|
1209
1167
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1210
|
-
<td>the blue value
|
1211
|
-
</td>
|
1168
|
+
<td>the blue value</td>
|
1212
1169
|
</tr>
|
1213
1170
|
<tr>
|
1214
1171
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1215
|
-
<td>
|
1216
|
-
|
1217
|
-
</td>
|
1172
|
+
<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
|
1173
|
+
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>.</td>
|
1218
1174
|
</tr>
|
1219
1175
|
</tbody>
|
1220
1176
|
</table></div>
|
@@ -1222,7 +1178,7 @@ Create a new background color attribute.
|
|
1222
1178
|
<hr>
|
1223
1179
|
<div class="refsect2">
|
1224
1180
|
<a name="pango-attr-strikethrough-new"></a><h3>pango_attr_strikethrough_new ()</h3>
|
1225
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_new (<em class="parameter"><code><span class="type">gboolean</span> strikethrough</code></em>);</pre>
|
1181
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strikethrough</code></em>);</pre>
|
1226
1182
|
<p>
|
1227
1183
|
Create a new strike-through attribute.
|
1228
1184
|
</p>
|
@@ -1232,14 +1188,12 @@ Create a new strike-through attribute.
|
|
1232
1188
|
<tr>
|
1233
1189
|
<td><p><span class="term"><em class="parameter"><code>strikethrough</code></em> :</span></p></td>
|
1234
1190
|
<td>
|
1235
|
-
<code class="literal">TRUE</code> if the text should be struck-through
|
1236
|
-
</td>
|
1191
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the text should be struck-through.</td>
|
1237
1192
|
</tr>
|
1238
1193
|
<tr>
|
1239
1194
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1240
|
-
<td>
|
1241
|
-
|
1242
|
-
</td>
|
1195
|
+
<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
|
1196
|
+
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>.</td>
|
1243
1197
|
</tr>
|
1244
1198
|
</tbody>
|
1245
1199
|
</table></div>
|
@@ -1247,9 +1201,9 @@ Create a new strike-through attribute.
|
|
1247
1201
|
<hr>
|
1248
1202
|
<div class="refsect2">
|
1249
1203
|
<a name="pango-attr-strikethrough-color-new"></a><h3>pango_attr_strikethrough_color_new ()</h3>
|
1250
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_color_new (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
1251
|
-
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
1252
|
-
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
|
1204
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_color_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
1205
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
1206
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
|
1253
1207
|
<p>
|
1254
1208
|
Create a new strikethrough color attribute. This attribute
|
1255
1209
|
modifies the color of strikethrough lines. If not set, strikethrough
|
@@ -1260,25 +1214,20 @@ lines will use the foreground color.
|
|
1260
1214
|
<tbody>
|
1261
1215
|
<tr>
|
1262
1216
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1263
|
-
<td>the red value (ranging from 0 to 65535)
|
1264
|
-
</td>
|
1217
|
+
<td>the red value (ranging from 0 to 65535)</td>
|
1265
1218
|
</tr>
|
1266
1219
|
<tr>
|
1267
1220
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1268
|
-
<td>the green value
|
1269
|
-
</td>
|
1221
|
+
<td>the green value</td>
|
1270
1222
|
</tr>
|
1271
1223
|
<tr>
|
1272
1224
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1273
|
-
<td>the blue value
|
1274
|
-
</td>
|
1225
|
+
<td>the blue value</td>
|
1275
1226
|
</tr>
|
1276
1227
|
<tr>
|
1277
1228
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1278
|
-
<td>
|
1279
|
-
|
1280
|
-
|
1281
|
-
</td>
|
1229
|
+
<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
|
1230
|
+
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>.</td>
|
1282
1231
|
</tr>
|
1283
1232
|
</tbody>
|
1284
1233
|
</table></div>
|
@@ -1287,7 +1236,7 @@ lines will use the foreground color.
|
|
1287
1236
|
<hr>
|
1288
1237
|
<div class="refsect2">
|
1289
1238
|
<a name="pango-attr-underline-new"></a><h3>pango_attr_underline_new ()</h3>
|
1290
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_underline_new (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoUnderline"
|
1239
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_underline_new (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a> underline</code></em>);</pre>
|
1291
1240
|
<p>
|
1292
1241
|
Create a new underline-style attribute.
|
1293
1242
|
</p>
|
@@ -1296,14 +1245,12 @@ Create a new underline-style attribute.
|
|
1296
1245
|
<tbody>
|
1297
1246
|
<tr>
|
1298
1247
|
<td><p><span class="term"><em class="parameter"><code>underline</code></em> :</span></p></td>
|
1299
|
-
<td>the underline style
|
1300
|
-
</td>
|
1248
|
+
<td>the underline style.</td>
|
1301
1249
|
</tr>
|
1302
1250
|
<tr>
|
1303
1251
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1304
|
-
<td>
|
1305
|
-
|
1306
|
-
</td>
|
1252
|
+
<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
|
1253
|
+
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>.</td>
|
1307
1254
|
</tr>
|
1308
1255
|
</tbody>
|
1309
1256
|
</table></div>
|
@@ -1311,9 +1258,9 @@ Create a new underline-style attribute.
|
|
1311
1258
|
<hr>
|
1312
1259
|
<div class="refsect2">
|
1313
1260
|
<a name="pango-attr-underline-color-new"></a><h3>pango_attr_underline_color_new ()</h3>
|
1314
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_underline_color_new (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
1315
|
-
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
1316
|
-
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
|
1261
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_underline_color_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
1262
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
1263
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
|
1317
1264
|
<p>
|
1318
1265
|
Create a new underline color attribute. This attribute
|
1319
1266
|
modifies the color of underlines. If not set, underlines
|
@@ -1324,25 +1271,20 @@ will use the foreground color.
|
|
1324
1271
|
<tbody>
|
1325
1272
|
<tr>
|
1326
1273
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1327
|
-
<td>the red value (ranging from 0 to 65535)
|
1328
|
-
</td>
|
1274
|
+
<td>the red value (ranging from 0 to 65535)</td>
|
1329
1275
|
</tr>
|
1330
1276
|
<tr>
|
1331
1277
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1332
|
-
<td>the green value
|
1333
|
-
</td>
|
1278
|
+
<td>the green value</td>
|
1334
1279
|
</tr>
|
1335
1280
|
<tr>
|
1336
1281
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1337
|
-
<td>the blue value
|
1338
|
-
</td>
|
1282
|
+
<td>the blue value</td>
|
1339
1283
|
</tr>
|
1340
1284
|
<tr>
|
1341
1285
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1342
|
-
<td>
|
1343
|
-
|
1344
|
-
|
1345
|
-
</td>
|
1286
|
+
<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
|
1287
|
+
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>.</td>
|
1346
1288
|
</tr>
|
1347
1289
|
</tbody>
|
1348
1290
|
</table></div>
|
@@ -1350,7 +1292,7 @@ will use the foreground color.
|
|
1350
1292
|
</div>
|
1351
1293
|
<hr>
|
1352
1294
|
<div class="refsect2">
|
1353
|
-
<a name="PangoUnderline"></a><h3>enum PangoUnderline</h3>
|
1295
|
+
<a name="PangoUnderline-enum"></a><h3>enum PangoUnderline</h3>
|
1354
1296
|
<pre class="programlisting">typedef enum {
|
1355
1297
|
PANGO_UNDERLINE_NONE,
|
1356
1298
|
PANGO_UNDERLINE_SINGLE,
|
@@ -1360,7 +1302,7 @@ will use the foreground color.
|
|
1360
1302
|
} PangoUnderline;
|
1361
1303
|
</pre>
|
1362
1304
|
<p>
|
1363
|
-
the <a class="link" href="pango-Text-Attributes.html#PangoUnderline"
|
1305
|
+
the <a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a> enumeration is used to specify
|
1364
1306
|
whether text should be underlined, and if so, the type
|
1365
1307
|
of underlining.
|
1366
1308
|
</p>
|
@@ -1411,7 +1353,7 @@ of underlining.
|
|
1411
1353
|
<pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
|
1412
1354
|
</pre>
|
1413
1355
|
<p>
|
1414
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoUnderline"
|
1356
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a>.
|
1415
1357
|
</p>
|
1416
1358
|
</div>
|
1417
1359
|
<hr>
|
@@ -1430,19 +1372,16 @@ embedding a picture or a widget inside a <a class="link" href="pango-Layout-Obje
|
|
1430
1372
|
<tbody>
|
1431
1373
|
<tr>
|
1432
1374
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1433
|
-
<td>ink rectangle to assign to each character
|
1434
|
-
</td>
|
1375
|
+
<td>ink rectangle to assign to each character</td>
|
1435
1376
|
</tr>
|
1436
1377
|
<tr>
|
1437
1378
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1438
|
-
<td>logical rectangle to assign to each character
|
1439
|
-
</td>
|
1379
|
+
<td>logical rectangle to assign to each character</td>
|
1440
1380
|
</tr>
|
1441
1381
|
<tr>
|
1442
1382
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1443
|
-
<td>
|
1444
|
-
|
1445
|
-
</td>
|
1383
|
+
<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
|
1384
|
+
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>.</td>
|
1446
1385
|
</tr>
|
1447
1386
|
</tbody>
|
1448
1387
|
</table></div>
|
@@ -1452,9 +1391,9 @@ embedding a picture or a widget inside a <a class="link" href="pango-Layout-Obje
|
|
1452
1391
|
<a name="pango-attr-shape-new-with-data"></a><h3>pango_attr_shape_new_with_data ()</h3>
|
1453
1392
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_shape_new_with_data (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
1454
1393
|
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
|
1455
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
1394
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1456
1395
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
|
1457
|
-
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);</pre>
|
1396
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);</pre>
|
1458
1397
|
<p>
|
1459
1398
|
Like <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()"><code class="function">pango_attr_shape_new()</code></a>, but a user data pointer is also
|
1460
1399
|
provided; this pointer can be accessed when later
|
@@ -1465,38 +1404,33 @@ rendering the glyph.
|
|
1465
1404
|
<tbody>
|
1466
1405
|
<tr>
|
1467
1406
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1468
|
-
<td>ink rectangle to assign to each character
|
1469
|
-
</td>
|
1407
|
+
<td>ink rectangle to assign to each character</td>
|
1470
1408
|
</tr>
|
1471
1409
|
<tr>
|
1472
1410
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1473
|
-
<td>logical rectangle to assign to each character
|
1474
|
-
</td>
|
1411
|
+
<td>logical rectangle to assign to each character</td>
|
1475
1412
|
</tr>
|
1476
1413
|
<tr>
|
1477
1414
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1478
|
-
<td>user data pointer
|
1479
|
-
</td>
|
1415
|
+
<td>user data pointer</td>
|
1480
1416
|
</tr>
|
1481
1417
|
<tr>
|
1482
1418
|
<td><p><span class="term"><em class="parameter"><code>copy_func</code></em> :</span></p></td>
|
1483
|
-
<td>function to copy <em class="parameter"><code>data</code></em> when the
|
1484
|
-
|
1485
|
-
|
1419
|
+
<td>function to copy <em class="parameter"><code>data</code></em> when the
|
1420
|
+
attribute is copied. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>data</code></em> is simply
|
1421
|
+
copied as a pointer. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1486
1422
|
</td>
|
1487
1423
|
</tr>
|
1488
1424
|
<tr>
|
1489
1425
|
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
|
1490
|
-
<td>function to free <em class="parameter"><code>data</code></em> when the
|
1491
|
-
|
1426
|
+
<td>function to free <em class="parameter"><code>data</code></em> when the
|
1427
|
+
attribute is freed, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1492
1428
|
</td>
|
1493
1429
|
</tr>
|
1494
1430
|
<tr>
|
1495
1431
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1496
|
-
<td>
|
1497
|
-
|
1498
|
-
|
1499
|
-
</td>
|
1432
|
+
<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
|
1433
|
+
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>.</td>
|
1500
1434
|
</tr>
|
1501
1435
|
</tbody>
|
1502
1436
|
</table></div>
|
@@ -1505,7 +1439,7 @@ rendering the glyph.
|
|
1505
1439
|
<hr>
|
1506
1440
|
<div class="refsect2">
|
1507
1441
|
<a name="PangoAttrDataCopyFunc"></a><h3>PangoAttrDataCopyFunc ()</h3>
|
1508
|
-
<pre class="programlisting"><span class="returnvalue">gpointer</span> (*PangoAttrDataCopyFunc) (<em class="parameter"><code><span class="type">gconstpointer</span> data</code></em>);</pre>
|
1442
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (*PangoAttrDataCopyFunc) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);</pre>
|
1509
1443
|
<p>
|
1510
1444
|
A copy function passed to attribute new functions that take
|
1511
1445
|
user data.
|
@@ -1515,13 +1449,11 @@ user data.
|
|
1515
1449
|
<tbody>
|
1516
1450
|
<tr>
|
1517
1451
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1518
|
-
<td>the user data
|
1519
|
-
</td>
|
1452
|
+
<td>the user data</td>
|
1520
1453
|
</tr>
|
1521
1454
|
<tr>
|
1522
1455
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1523
|
-
<td>a new copy of <em class="parameter"><code>data</code></em
|
1524
|
-
</td>
|
1456
|
+
<td>a new copy of <em class="parameter"><code>data</code></em>.</td>
|
1525
1457
|
</tr>
|
1526
1458
|
</tbody>
|
1527
1459
|
</table></div>
|
@@ -1539,14 +1471,12 @@ affected text will have its size multiplied by <em class="parameter"><code>scale
|
|
1539
1471
|
<tbody>
|
1540
1472
|
<tr>
|
1541
1473
|
<td><p><span class="term"><em class="parameter"><code>scale_factor</code></em> :</span></p></td>
|
1542
|
-
<td>factor to scale the font
|
1543
|
-
</td>
|
1474
|
+
<td>factor to scale the font</td>
|
1544
1475
|
</tr>
|
1545
1476
|
<tr>
|
1546
1477
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1547
|
-
<td>
|
1548
|
-
|
1549
|
-
</td>
|
1478
|
+
<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
|
1479
|
+
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>.</td>
|
1550
1480
|
</tr>
|
1551
1481
|
</tbody>
|
1552
1482
|
</table></div>
|
@@ -1627,14 +1557,12 @@ Create a new baseline displacement attribute.
|
|
1627
1557
|
<tr>
|
1628
1558
|
<td><p><span class="term"><em class="parameter"><code>rise</code></em> :</span></p></td>
|
1629
1559
|
<td>the amount that the text should be displaced vertically,
|
1630
|
-
|
1631
|
-
</td>
|
1560
|
+
in Pango units. Positive values displace the text upwards.</td>
|
1632
1561
|
</tr>
|
1633
1562
|
<tr>
|
1634
1563
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1635
|
-
<td>
|
1636
|
-
|
1637
|
-
</td>
|
1564
|
+
<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
|
1565
|
+
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>.</td>
|
1638
1566
|
</tr>
|
1639
1567
|
</tbody>
|
1640
1568
|
</table></div>
|
@@ -1652,15 +1580,12 @@ Create a new letter-spacing attribute.
|
|
1652
1580
|
<tr>
|
1653
1581
|
<td><p><span class="term"><em class="parameter"><code>letter_spacing</code></em> :</span></p></td>
|
1654
1582
|
<td>amount of extra space to add between graphemes
|
1655
|
-
|
1656
|
-
</td>
|
1583
|
+
of the text, in Pango units.</td>
|
1657
1584
|
</tr>
|
1658
1585
|
<tr>
|
1659
1586
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1660
|
-
<td>
|
1661
|
-
|
1662
|
-
|
1663
|
-
</td>
|
1587
|
+
<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
|
1588
|
+
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>.</td>
|
1664
1589
|
</tr>
|
1665
1590
|
</tbody>
|
1666
1591
|
</table></div>
|
@@ -1669,7 +1594,7 @@ Create a new letter-spacing attribute.
|
|
1669
1594
|
<hr>
|
1670
1595
|
<div class="refsect2">
|
1671
1596
|
<a name="pango-attr-fallback-new"></a><h3>pango_attr_fallback_new ()</h3>
|
1672
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_fallback_new (<em class="parameter"><code><span class="type">gboolean</span> enable_fallback</code></em>);</pre>
|
1597
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_fallback_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable_fallback</code></em>);</pre>
|
1673
1598
|
<p>
|
1674
1599
|
Create a new font fallback attribute.
|
1675
1600
|
</p>
|
@@ -1685,16 +1610,13 @@ text.
|
|
1685
1610
|
<tr>
|
1686
1611
|
<td><p><span class="term"><em class="parameter"><code>enable_fallback</code></em> :</span></p></td>
|
1687
1612
|
<td>
|
1688
|
-
<code class="literal">TRUE</code> if we should fall back on other fonts
|
1689
|
-
|
1690
|
-
</td>
|
1613
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if we should fall back on other fonts
|
1614
|
+
for characters the active font is missing.</td>
|
1691
1615
|
</tr>
|
1692
1616
|
<tr>
|
1693
1617
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1694
|
-
<td>
|
1695
|
-
|
1696
|
-
|
1697
|
-
</td>
|
1618
|
+
<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
|
1619
|
+
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>.</td>
|
1698
1620
|
</tr>
|
1699
1621
|
</tbody>
|
1700
1622
|
</table></div>
|
@@ -1703,7 +1625,7 @@ text.
|
|
1703
1625
|
<hr>
|
1704
1626
|
<div class="refsect2">
|
1705
1627
|
<a name="pango-attr-gravity-new"></a><h3>pango_attr_gravity_new ()</h3>
|
1706
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_gravity_new (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"
|
1628
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_gravity_new (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
1707
1629
|
<p>
|
1708
1630
|
Create a new gravity attribute.
|
1709
1631
|
</p>
|
@@ -1712,15 +1634,12 @@ Create a new gravity attribute.
|
|
1712
1634
|
<tbody>
|
1713
1635
|
<tr>
|
1714
1636
|
<td><p><span class="term"><em class="parameter"><code>gravity</code></em> :</span></p></td>
|
1715
|
-
<td>the gravity value; should not be <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a
|
1716
|
-
</td>
|
1637
|
+
<td>the gravity value; should not be <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>.</td>
|
1717
1638
|
</tr>
|
1718
1639
|
<tr>
|
1719
1640
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1720
|
-
<td>
|
1721
|
-
|
1722
|
-
|
1723
|
-
</td>
|
1641
|
+
<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
|
1642
|
+
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>.</td>
|
1724
1643
|
</tr>
|
1725
1644
|
</tbody>
|
1726
1645
|
</table></div>
|
@@ -1729,7 +1648,7 @@ Create a new gravity attribute.
|
|
1729
1648
|
<hr>
|
1730
1649
|
<div class="refsect2">
|
1731
1650
|
<a name="pango-attr-gravity-hint-new"></a><h3>pango_attr_gravity_hint_new ()</h3>
|
1732
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_gravity_hint_new (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"
|
1651
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_gravity_hint_new (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
|
1733
1652
|
<p>
|
1734
1653
|
Create a new gravity hint attribute.
|
1735
1654
|
</p>
|
@@ -1738,15 +1657,12 @@ Create a new gravity hint attribute.
|
|
1738
1657
|
<tbody>
|
1739
1658
|
<tr>
|
1740
1659
|
<td><p><span class="term"><em class="parameter"><code>hint</code></em> :</span></p></td>
|
1741
|
-
<td>the gravity hint value
|
1742
|
-
</td>
|
1660
|
+
<td>the gravity hint value.</td>
|
1743
1661
|
</tr>
|
1744
1662
|
<tr>
|
1745
1663
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1746
|
-
<td>
|
1747
|
-
|
1748
|
-
|
1749
|
-
</td>
|
1664
|
+
<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
|
1665
|
+
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>.</td>
|
1750
1666
|
</tr>
|
1751
1667
|
</tbody>
|
1752
1668
|
</table></div>
|
@@ -1754,7 +1670,7 @@ Create a new gravity hint attribute.
|
|
1754
1670
|
</div>
|
1755
1671
|
<hr>
|
1756
1672
|
<div class="refsect2">
|
1757
|
-
<a name="PangoColor"></a><h3>struct PangoColor</h3>
|
1673
|
+
<a name="PangoColor-struct"></a><h3>struct PangoColor</h3>
|
1758
1674
|
<pre class="programlisting">struct PangoColor {
|
1759
1675
|
guint16 red;
|
1760
1676
|
guint16 green;
|
@@ -1762,32 +1678,9 @@ Create a new gravity hint attribute.
|
|
1762
1678
|
};
|
1763
1679
|
</pre>
|
1764
1680
|
<p>
|
1765
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoColor"
|
1681
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> structure is used to
|
1766
1682
|
represent a color in an uncalibrated RGB color-space.
|
1767
1683
|
</p>
|
1768
|
-
<div class="variablelist"><table border="0">
|
1769
|
-
<col align="left" valign="top">
|
1770
|
-
<tbody>
|
1771
|
-
<tr>
|
1772
|
-
<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="PangoColor.red"></a>red</code></em>;</span></p></td>
|
1773
|
-
<td>The red component of the color. This is a value between 0 and 65535,
|
1774
|
-
with 65535 indicating full intensity.
|
1775
|
-
</td>
|
1776
|
-
</tr>
|
1777
|
-
<tr>
|
1778
|
-
<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="PangoColor.green"></a>green</code></em>;</span></p></td>
|
1779
|
-
<td>The green component of the color. This is a value between 0 and 65535,
|
1780
|
-
with 65535 indicating full intensity.
|
1781
|
-
</td>
|
1782
|
-
</tr>
|
1783
|
-
<tr>
|
1784
|
-
<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="PangoColor.blue"></a>blue</code></em>;</span></p></td>
|
1785
|
-
<td>The blue component of the color. This is a value between 0 and 65535,
|
1786
|
-
with 65535 indicating full intensity.
|
1787
|
-
</td>
|
1788
|
-
</tr>
|
1789
|
-
</tbody>
|
1790
|
-
</table></div>
|
1791
1684
|
</div>
|
1792
1685
|
<hr>
|
1793
1686
|
<div class="refsect2">
|
@@ -1795,13 +1688,13 @@ represent a color in an uncalibrated RGB color-space.
|
|
1795
1688
|
<pre class="programlisting">#define PANGO_TYPE_COLOR pango_color_get_type ()
|
1796
1689
|
</pre>
|
1797
1690
|
<p>
|
1798
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoColor"
|
1691
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>.
|
1799
1692
|
</p>
|
1800
1693
|
</div>
|
1801
1694
|
<hr>
|
1802
1695
|
<div class="refsect2">
|
1803
1696
|
<a name="pango-color-parse"></a><h3>pango_color_parse ()</h3>
|
1804
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_color_parse (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"
|
1697
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_color_parse (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
1805
1698
|
<em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);</pre>
|
1806
1699
|
<p>
|
1807
1700
|
Fill in the fields of a color from a string specification. The
|
@@ -1817,19 +1710,18 @@ forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')
|
|
1817
1710
|
<tbody>
|
1818
1711
|
<tr>
|
1819
1712
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1820
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor"
|
1713
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> structure in which to store the result, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1821
1714
|
</td>
|
1822
1715
|
</tr>
|
1823
1716
|
<tr>
|
1824
1717
|
<td><p><span class="term"><em class="parameter"><code>spec</code></em> :</span></p></td>
|
1825
|
-
<td>a string specifying the new color
|
1826
|
-
</td>
|
1718
|
+
<td>a string specifying the new color</td>
|
1827
1719
|
</tr>
|
1828
1720
|
<tr>
|
1829
1721
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1830
|
-
<td>
|
1831
|
-
|
1832
|
-
|
1722
|
+
<td>
|
1723
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if parsing of the specifier succeeded,
|
1724
|
+
otherwise false.</td>
|
1833
1725
|
</tr>
|
1834
1726
|
</tbody>
|
1835
1727
|
</table></div>
|
@@ -1837,7 +1729,7 @@ forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')
|
|
1837
1729
|
<hr>
|
1838
1730
|
<div class="refsect2">
|
1839
1731
|
<a name="pango-color-copy"></a><h3>pango_color_copy ()</h3>
|
1840
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor"
|
1732
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="returnvalue">PangoColor</span></a> * pango_color_copy (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *src</code></em>);</pre>
|
1841
1733
|
<p>
|
1842
1734
|
Creates a copy of <em class="parameter"><code>src</code></em>, which should be freed with
|
1843
1735
|
<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,
|
@@ -1849,15 +1741,14 @@ by assignment in C).
|
|
1849
1741
|
<tbody>
|
1850
1742
|
<tr>
|
1851
1743
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
1852
|
-
<td>color to copy, may be <a href="/
|
1744
|
+
<td>color to copy, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1853
1745
|
</td>
|
1854
1746
|
</tr>
|
1855
1747
|
<tr>
|
1856
1748
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1857
|
-
<td>
|
1858
|
-
|
1859
|
-
|
1860
|
-
</td>
|
1749
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, which should
|
1750
|
+
be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1751
|
+
if <em class="parameter"><code>src</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1861
1752
|
</tr>
|
1862
1753
|
</tbody>
|
1863
1754
|
</table></div>
|
@@ -1865,7 +1756,7 @@ by assignment in C).
|
|
1865
1756
|
<hr>
|
1866
1757
|
<div class="refsect2">
|
1867
1758
|
<a name="pango-color-free"></a><h3>pango_color_free ()</h3>
|
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"
|
1759
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_color_free (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
1869
1760
|
<p>
|
1870
1761
|
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>.
|
1871
1762
|
</p>
|
@@ -1873,7 +1764,7 @@ Frees a color allocated by <a class="link" href="pango-Text-Attributes.html#pang
|
|
1873
1764
|
<col align="left" valign="top">
|
1874
1765
|
<tbody><tr>
|
1875
1766
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1876
|
-
<td>an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"
|
1767
|
+
<td>an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1877
1768
|
</td>
|
1878
1769
|
</tr></tbody>
|
1879
1770
|
</table></div>
|
@@ -1881,7 +1772,7 @@ Frees a color allocated by <a class="link" href="pango-Text-Attributes.html#pang
|
|
1881
1772
|
<hr>
|
1882
1773
|
<div class="refsect2">
|
1883
1774
|
<a name="pango-color-to-string"></a><h3>pango_color_to_string ()</h3>
|
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"
|
1775
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * pango_color_to_string (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
1885
1776
|
<p>
|
1886
1777
|
Returns a textual specification of <em class="parameter"><code>color</code></em> in the hexadecimal form
|
1887
1778
|
<code class="literal">#rrrrggggbbbb</code>, where <code class="literal">r</code>,
|
@@ -1893,14 +1784,12 @@ the red, green, and blue components respectively.
|
|
1893
1784
|
<tbody>
|
1894
1785
|
<tr>
|
1895
1786
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1896
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor"
|
1787
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>
|
1897
1788
|
</td>
|
1898
1789
|
</tr>
|
1899
1790
|
<tr>
|
1900
1791
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1901
|
-
<td>
|
1902
|
-
|
1903
|
-
</td>
|
1792
|
+
<td>a newly-allocated text string that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
1904
1793
|
</tr>
|
1905
1794
|
</tbody>
|
1906
1795
|
</table></div>
|
@@ -1908,19 +1797,19 @@ the red, green, and blue components respectively.
|
|
1908
1797
|
</div>
|
1909
1798
|
<hr>
|
1910
1799
|
<div class="refsect2">
|
1911
|
-
<a name="PangoAttrList"></a><h3>PangoAttrList</h3>
|
1800
|
+
<a name="PangoAttrList-struct"></a><h3>PangoAttrList</h3>
|
1912
1801
|
<pre class="programlisting">typedef struct _PangoAttrList PangoAttrList;</pre>
|
1913
1802
|
<p>
|
1914
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1803
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> structure represents a list of attributes
|
1915
1804
|
that apply to a section of text. The attributes are, in general,
|
1916
1805
|
allowed to overlap in an arbitrary fashion, however, if the
|
1917
1806
|
attributes are manipulated only through <a class="link" href="pango-Text-Attributes.html#pango-attr-list-change" title="pango_attr_list_change ()"><code class="function">pango_attr_list_change()</code></a>,
|
1918
1807
|
the overlap between properties will meet stricter criteria.
|
1919
1808
|
</p>
|
1920
1809
|
<p>
|
1921
|
-
Since the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1810
|
+
Since the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> structure is stored as a linear list,
|
1922
1811
|
it is not suitable for storing attributes for large amounts
|
1923
|
-
of text. In general, you should not use a single <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1812
|
+
of text. In general, you should not use a single <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
1924
1813
|
for more than one paragraph of text.
|
1925
1814
|
</p>
|
1926
1815
|
</div>
|
@@ -1930,13 +1819,13 @@ for more than one paragraph of text.
|
|
1930
1819
|
<pre class="programlisting">#define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
|
1931
1820
|
</pre>
|
1932
1821
|
<p>
|
1933
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1822
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>.
|
1934
1823
|
</p>
|
1935
1824
|
</div>
|
1936
1825
|
<hr>
|
1937
1826
|
<div class="refsect2">
|
1938
1827
|
<a name="pango-attr-list-new"></a><h3>pango_attr_list_new ()</h3>
|
1939
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1828
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1940
1829
|
<p>
|
1941
1830
|
Create a new empty attribute list with a reference count of one.
|
1942
1831
|
</p>
|
@@ -1944,16 +1833,15 @@ Create a new empty attribute list with a reference count of one.
|
|
1944
1833
|
<col align="left" valign="top">
|
1945
1834
|
<tbody><tr>
|
1946
1835
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1947
|
-
<td>
|
1948
|
-
|
1949
|
-
</td>
|
1836
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, which should
|
1837
|
+
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()"><code class="function">pango_attr_list_unref()</code></a>.</td>
|
1950
1838
|
</tr></tbody>
|
1951
1839
|
</table></div>
|
1952
1840
|
</div>
|
1953
1841
|
<hr>
|
1954
1842
|
<div class="refsect2">
|
1955
1843
|
<a name="pango-attr-list-ref"></a><h3>pango_attr_list_ref ()</h3>
|
1956
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1844
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_ref (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
1957
1845
|
<p>
|
1958
1846
|
Increase the reference count of the given attribute list by one.
|
1959
1847
|
</p>
|
@@ -1962,14 +1850,12 @@ Increase the reference count of the given attribute list by one.
|
|
1962
1850
|
<tbody>
|
1963
1851
|
<tr>
|
1964
1852
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1965
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1853
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1966
1854
|
</td>
|
1967
1855
|
</tr>
|
1968
1856
|
<tr>
|
1969
1857
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1970
|
-
<td>
|
1971
|
-
|
1972
|
-
</td>
|
1858
|
+
<td>The attribute list passed in</td>
|
1973
1859
|
</tr>
|
1974
1860
|
</tbody>
|
1975
1861
|
</table></div>
|
@@ -1978,7 +1864,7 @@ Increase the reference count of the given attribute list by one.
|
|
1978
1864
|
<hr>
|
1979
1865
|
<div class="refsect2">
|
1980
1866
|
<a name="pango-attr-list-unref"></a><h3>pango_attr_list_unref ()</h3>
|
1981
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_unref (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1867
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_unref (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
1982
1868
|
<p>
|
1983
1869
|
Decrease the reference count of the given attribute list by one.
|
1984
1870
|
If the result is zero, free the attribute list and the attributes
|
@@ -1988,7 +1874,7 @@ it contains.
|
|
1988
1874
|
<col align="left" valign="top">
|
1989
1875
|
<tbody><tr>
|
1990
1876
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1991
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1877
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1992
1878
|
</td>
|
1993
1879
|
</tr></tbody>
|
1994
1880
|
</table></div>
|
@@ -1996,7 +1882,7 @@ it contains.
|
|
1996
1882
|
<hr>
|
1997
1883
|
<div class="refsect2">
|
1998
1884
|
<a name="pango-attr-list-copy"></a><h3>pango_attr_list_copy ()</h3>
|
1999
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1885
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_copy (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
2000
1886
|
<p>
|
2001
1887
|
Copy <em class="parameter"><code>list</code></em> and return an identical new list.
|
2002
1888
|
</p>
|
@@ -2005,16 +1891,15 @@ Copy <em class="parameter"><code>list</code></em> and return an identical new li
|
|
2005
1891
|
<tbody>
|
2006
1892
|
<tr>
|
2007
1893
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2008
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1894
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2009
1895
|
</td>
|
2010
1896
|
</tr>
|
2011
1897
|
<tr>
|
2012
1898
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2013
|
-
<td>
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
</td>
|
1899
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, with a
|
1900
|
+
reference count of one, which should
|
1901
|
+
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()"><code class="function">pango_attr_list_unref()</code></a>.
|
1902
|
+
Returns <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>list</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
2018
1903
|
</tr>
|
2019
1904
|
</tbody>
|
2020
1905
|
</table></div>
|
@@ -2022,10 +1907,10 @@ Copy <em class="parameter"><code>list</code></em> and return an identical new li
|
|
2022
1907
|
<hr>
|
2023
1908
|
<div class="refsect2">
|
2024
1909
|
<a name="pango-attr-list-insert"></a><h3>pango_attr_list_insert ()</h3>
|
2025
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_insert (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1910
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_insert (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2026
1911
|
<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>
|
2027
1912
|
<p>
|
2028
|
-
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1913
|
+
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
|
2029
1914
|
be inserted after all other attributes with a matching
|
2030
1915
|
<em class="parameter"><code>start_index</code></em>.
|
2031
1916
|
</p>
|
@@ -2034,14 +1919,13 @@ be inserted after all other attributes with a matching
|
|
2034
1919
|
<tbody>
|
2035
1920
|
<tr>
|
2036
1921
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2037
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1922
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2038
1923
|
</td>
|
2039
1924
|
</tr>
|
2040
1925
|
<tr>
|
2041
1926
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
2042
1927
|
<td>the attribute to insert. Ownership of this value is
|
2043
|
-
|
2044
|
-
</td>
|
1928
|
+
assumed by the list.</td>
|
2045
1929
|
</tr>
|
2046
1930
|
</tbody>
|
2047
1931
|
</table></div>
|
@@ -2049,10 +1933,10 @@ be inserted after all other attributes with a matching
|
|
2049
1933
|
<hr>
|
2050
1934
|
<div class="refsect2">
|
2051
1935
|
<a name="pango-attr-list-insert-before"></a><h3>pango_attr_list_insert_before ()</h3>
|
2052
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_insert_before (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1936
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_insert_before (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2053
1937
|
<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>
|
2054
1938
|
<p>
|
2055
|
-
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1939
|
+
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
|
2056
1940
|
be inserted before all other attributes with a matching
|
2057
1941
|
<em class="parameter"><code>start_index</code></em>.
|
2058
1942
|
</p>
|
@@ -2061,14 +1945,13 @@ be inserted before all other attributes with a matching
|
|
2061
1945
|
<tbody>
|
2062
1946
|
<tr>
|
2063
1947
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2064
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1948
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2065
1949
|
</td>
|
2066
1950
|
</tr>
|
2067
1951
|
<tr>
|
2068
1952
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
2069
1953
|
<td>the attribute to insert. Ownership of this value is
|
2070
|
-
|
2071
|
-
</td>
|
1954
|
+
assumed by the list.</td>
|
2072
1955
|
</tr>
|
2073
1956
|
</tbody>
|
2074
1957
|
</table></div>
|
@@ -2076,10 +1959,10 @@ be inserted before all other attributes with a matching
|
|
2076
1959
|
<hr>
|
2077
1960
|
<div class="refsect2">
|
2078
1961
|
<a name="pango-attr-list-change"></a><h3>pango_attr_list_change ()</h3>
|
2079
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_change (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1962
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_change (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2080
1963
|
<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>
|
2081
1964
|
<p>
|
2082
|
-
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1965
|
+
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
|
2083
1966
|
replace any attributes of the same type on that segment
|
2084
1967
|
and be merged with any adjoining attributes that are identical.
|
2085
1968
|
</p>
|
@@ -2095,14 +1978,13 @@ since it never removes or combines existing attributes.
|
|
2095
1978
|
<tbody>
|
2096
1979
|
<tr>
|
2097
1980
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2098
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1981
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2099
1982
|
</td>
|
2100
1983
|
</tr>
|
2101
1984
|
<tr>
|
2102
1985
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
2103
1986
|
<td>the attribute to insert. Ownership of this value is
|
2104
|
-
|
2105
|
-
</td>
|
1987
|
+
assumed by the list.</td>
|
2106
1988
|
</tr>
|
2107
1989
|
</tbody>
|
2108
1990
|
</table></div>
|
@@ -2110,10 +1992,10 @@ since it never removes or combines existing attributes.
|
|
2110
1992
|
<hr>
|
2111
1993
|
<div class="refsect2">
|
2112
1994
|
<a name="pango-attr-list-splice"></a><h3>pango_attr_list_splice ()</h3>
|
2113
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_splice (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2114
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2115
|
-
<em class="parameter"><code><span class="type">gint</span> pos</code></em>,
|
2116
|
-
<em class="parameter"><code><span class="type">gint</span> len</code></em>);</pre>
|
1995
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_splice (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
1996
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
|
1997
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>,
|
1998
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);</pre>
|
2117
1999
|
<p>
|
2118
2000
|
This function opens up a hole in <em class="parameter"><code>list</code></em>, fills it in with attributes from
|
2119
2001
|
the left, and then merges <em class="parameter"><code>other</code></em> on top of the hole.
|
@@ -2133,12 +2015,12 @@ a pre-edit string in the middle of an edit buffer.
|
|
2133
2015
|
<tbody>
|
2134
2016
|
<tr>
|
2135
2017
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2136
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2018
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2137
2019
|
</td>
|
2138
2020
|
</tr>
|
2139
2021
|
<tr>
|
2140
2022
|
<td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
|
2141
|
-
<td>another <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2023
|
+
<td>another <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2142
2024
|
</td>
|
2143
2025
|
</tr>
|
2144
2026
|
<tr>
|
@@ -2149,9 +2031,8 @@ a pre-edit string in the middle of an edit buffer.
|
|
2149
2031
|
<tr>
|
2150
2032
|
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
2151
2033
|
<td>the length of the spliced segment. (Note that this
|
2152
|
-
|
2153
|
-
|
2154
|
-
</td>
|
2034
|
+
must be specified since the attributes in <em class="parameter"><code>other</code></em>
|
2035
|
+
may only be present at some subsection of this range)</td>
|
2155
2036
|
</tr>
|
2156
2037
|
</tbody>
|
2157
2038
|
</table></div>
|
@@ -2159,12 +2040,12 @@ a pre-edit string in the middle of an edit buffer.
|
|
2159
2040
|
<hr>
|
2160
2041
|
<div class="refsect2">
|
2161
2042
|
<a name="pango-attr-list-filter"></a><h3>pango_attr_list_filter ()</h3>
|
2162
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2043
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_filter (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2163
2044
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
|
2164
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
2045
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2165
2046
|
<p>
|
2166
|
-
Given a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2167
|
-
of <em class="parameter"><code>list</code></em> for which <em class="parameter"><code>func</code></em> returns <code class="literal">TRUE</code> and inserts them into
|
2047
|
+
Given a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> and callback function, removes any elements
|
2048
|
+
of <em class="parameter"><code>list</code></em> for which <em class="parameter"><code>func</code></em> returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and inserts them into
|
2168
2049
|
a new list.
|
2169
2050
|
</p>
|
2170
2051
|
<div class="variablelist"><table border="0">
|
@@ -2172,25 +2053,24 @@ a new list.
|
|
2172
2053
|
<tbody>
|
2173
2054
|
<tr>
|
2174
2055
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2175
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2056
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2176
2057
|
</td>
|
2177
2058
|
</tr>
|
2178
2059
|
<tr>
|
2179
2060
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2180
|
-
<td>callback function; returns <code class="literal">TRUE</code>
|
2181
|
-
|
2061
|
+
<td>callback function; returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
2062
|
+
if an attribute should be filtered out. <span class="annotation">[<a href="http://foldoc.org/scope%20call"><span class="acronym">scope call</span></a>][<a href="http://foldoc.org/closure"><span class="acronym">closure</span></a> data]</span>
|
2182
2063
|
</td>
|
2183
2064
|
</tr>
|
2184
2065
|
<tr>
|
2185
2066
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2186
|
-
<td>Data to be passed to <em class="parameter"><code>func</code></em>
|
2067
|
+
<td>Data to be passed to <em class="parameter"><code>func</code></em>. <span class="annotation">[<a href="http://foldoc.org/closure"><span class="acronym">closure</span></a>]</span>
|
2187
2068
|
</td>
|
2188
2069
|
</tr>
|
2189
2070
|
<tr>
|
2190
2071
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2191
|
-
<td>
|
2192
|
-
|
2193
|
-
|
2072
|
+
<td>the new <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
2073
|
+
no attributes of the given types were found. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
2194
2074
|
</td>
|
2195
2075
|
</tr>
|
2196
2076
|
</tbody>
|
@@ -2200,8 +2080,8 @@ a new list.
|
|
2200
2080
|
<hr>
|
2201
2081
|
<div class="refsect2">
|
2202
2082
|
<a name="PangoAttrFilterFunc"></a><h3>PangoAttrFilterFunc ()</h3>
|
2203
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> (*PangoAttrFilterFunc) (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
|
2204
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
2083
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*PangoAttrFilterFunc) (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
|
2084
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2205
2085
|
<p>
|
2206
2086
|
A predicate function used by <a class="link" href="pango-Text-Attributes.html#pango-attr-list-filter" title="pango_attr_list_filter ()"><code class="function">pango_attr_list_filter()</code></a>
|
2207
2087
|
to filter out a subset of attributes for a list.
|
@@ -2222,8 +2102,7 @@ to filter out a subset of attributes for a list.
|
|
2222
2102
|
<tr>
|
2223
2103
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2224
2104
|
<td>
|
2225
|
-
<code class="literal">TRUE</code> if the attribute should be filtered out
|
2226
|
-
</td>
|
2105
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the attribute should be filtered out</td>
|
2227
2106
|
</tr>
|
2228
2107
|
</tbody>
|
2229
2108
|
</table></div>
|
@@ -2231,7 +2110,7 @@ to filter out a subset of attributes for a list.
|
|
2231
2110
|
<hr>
|
2232
2111
|
<div class="refsect2">
|
2233
2112
|
<a name="pango-attr-list-get-iterator"></a><h3>pango_attr_list_get_iterator ()</h3>
|
2234
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * pango_attr_list_get_iterator (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2113
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * pango_attr_list_get_iterator (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
2235
2114
|
<p>
|
2236
2115
|
Create a iterator initialized to the beginning of the list.
|
2237
2116
|
<em class="parameter"><code>list</code></em> must not be modified until this iterator is freed.
|
@@ -2241,14 +2120,13 @@ Create a iterator initialized to the beginning of the list.
|
|
2241
2120
|
<tbody>
|
2242
2121
|
<tr>
|
2243
2122
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2244
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2123
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2245
2124
|
</td>
|
2246
2125
|
</tr>
|
2247
2126
|
<tr>
|
2248
2127
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2249
|
-
<td>
|
2250
|
-
|
2251
|
-
</td>
|
2128
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>, which should
|
2129
|
+
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()"><code class="function">pango_attr_iterator_destroy()</code></a>.</td>
|
2252
2130
|
</tr>
|
2253
2131
|
</tbody>
|
2254
2132
|
</table></div>
|
@@ -2259,7 +2137,7 @@ Create a iterator initialized to the beginning of the list.
|
|
2259
2137
|
<pre class="programlisting">typedef struct _PangoAttrIterator PangoAttrIterator;</pre>
|
2260
2138
|
<p>
|
2261
2139
|
The <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> structure is used to represent an
|
2262
|
-
iterator through a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
2140
|
+
iterator through a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. A new iterator is created
|
2263
2141
|
with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-get-iterator" title="pango_attr_list_get_iterator ()"><code class="function">pango_attr_list_get_iterator()</code></a>. Once the iterator
|
2264
2142
|
is created, it can be advanced through the style changes
|
2265
2143
|
in the text using <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-next" title="pango_attr_iterator_next ()"><code class="function">pango_attr_iterator_next()</code></a>. At each
|
@@ -2279,14 +2157,12 @@ Copy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title
|
|
2279
2157
|
<tbody>
|
2280
2158
|
<tr>
|
2281
2159
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2282
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a
|
2283
|
-
</td>
|
2160
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>.</td>
|
2284
2161
|
</tr>
|
2285
2162
|
<tr>
|
2286
2163
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2287
|
-
<td>
|
2288
|
-
|
2289
|
-
</td>
|
2164
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>, which should
|
2165
|
+
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()"><code class="function">pango_attr_iterator_destroy()</code></a>.</td>
|
2290
2166
|
</tr>
|
2291
2167
|
</tbody>
|
2292
2168
|
</table></div>
|
@@ -2294,7 +2170,7 @@ Copy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title
|
|
2294
2170
|
<hr>
|
2295
2171
|
<div class="refsect2">
|
2296
2172
|
<a name="pango-attr-iterator-next"></a><h3>pango_attr_iterator_next ()</h3>
|
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>
|
2173
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_attr_iterator_next (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2298
2174
|
<p>
|
2299
2175
|
Advance the iterator until the next change of style.
|
2300
2176
|
</p>
|
@@ -2308,7 +2184,8 @@ Advance the iterator until the next change of style.
|
|
2308
2184
|
</tr>
|
2309
2185
|
<tr>
|
2310
2186
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2311
|
-
<td>
|
2187
|
+
<td>
|
2188
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the iterator is at the end of the list, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
2312
2189
|
</td>
|
2313
2190
|
</tr>
|
2314
2191
|
</tbody>
|
@@ -2318,14 +2195,14 @@ Advance the iterator until the next change of style.
|
|
2318
2195
|
<div class="refsect2">
|
2319
2196
|
<a name="pango-attr-iterator-range"></a><h3>pango_attr_iterator_range ()</h3>
|
2320
2197
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_range (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
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>
|
2198
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start</code></em>,
|
2199
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end</code></em>);</pre>
|
2323
2200
|
<p>
|
2324
2201
|
Get the range of the current segment. Note that the
|
2325
2202
|
stored return values are signed, not unsigned like
|
2326
2203
|
the values in <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>. To deal with this API
|
2327
2204
|
oversight, stored return values that wouldn't fit into
|
2328
|
-
a signed integer are clamped to <code class="literal">G_MAXINT</code>.
|
2205
|
+
a signed integer are clamped to <a href="http://library.gnome.org/devel/glib/unstable/glib-Limits-of-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a>.
|
2329
2206
|
</p>
|
2330
2207
|
<div class="variablelist"><table border="0">
|
2331
2208
|
<col align="left" valign="top">
|
@@ -2337,13 +2214,11 @@ a signed integer are clamped to <code class="literal">G_MAXINT</code>.
|
|
2337
2214
|
</tr>
|
2338
2215
|
<tr>
|
2339
2216
|
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
2340
|
-
<td>location to store the start of the range
|
2341
|
-
</td>
|
2217
|
+
<td>location to store the start of the range</td>
|
2342
2218
|
</tr>
|
2343
2219
|
<tr>
|
2344
2220
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
2345
|
-
<td>location to store the end of the range
|
2346
|
-
</td>
|
2221
|
+
<td>location to store the end of the range</td>
|
2347
2222
|
</tr>
|
2348
2223
|
</tbody>
|
2349
2224
|
</table></div>
|
@@ -2352,7 +2227,7 @@ a signed integer are clamped to <code class="literal">G_MAXINT</code>.
|
|
2352
2227
|
<div class="refsect2">
|
2353
2228
|
<a name="pango-attr-iterator-get"></a><h3>pango_attr_iterator_get ()</h3>
|
2354
2229
|
<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"
|
2230
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);</pre>
|
2356
2231
|
<p>
|
2357
2232
|
Find the current attribute of a particular type at the iterator
|
2358
2233
|
location. When multiple attributes of the same type overlap,
|
@@ -2369,15 +2244,13 @@ is used.
|
|
2369
2244
|
</tr>
|
2370
2245
|
<tr>
|
2371
2246
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
2372
|
-
<td>the type of attribute to find
|
2373
|
-
</td>
|
2247
|
+
<td>the type of attribute to find.</td>
|
2374
2248
|
</tr>
|
2375
2249
|
<tr>
|
2376
2250
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2377
|
-
<td>
|
2378
|
-
|
2379
|
-
|
2380
|
-
</td>
|
2251
|
+
<td>the current attribute of the given type, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2252
|
+
if no attribute of that type applies to the current
|
2253
|
+
location.</td>
|
2381
2254
|
</tr>
|
2382
2255
|
</tbody>
|
2383
2256
|
</table></div>
|
@@ -2386,9 +2259,9 @@ is used.
|
|
2386
2259
|
<div class="refsect2">
|
2387
2260
|
<a name="pango-attr-iterator-get-font"></a><h3>pango_attr_iterator_get_font ()</h3>
|
2388
2261
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_get_font (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
2389
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2390
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
2391
|
-
<em class="parameter"><code><span class="type">GSList</span> **extra_attrs</code></em>);</pre>
|
2262
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
2263
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
|
2264
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **extra_attrs</code></em>);</pre>
|
2392
2265
|
<p>
|
2393
2266
|
Get the font and other attributes at the current iterator position.
|
2394
2267
|
</p>
|
@@ -2402,28 +2275,27 @@ Get the font and other attributes at the current iterator position.
|
|
2402
2275
|
</tr>
|
2403
2276
|
<tr>
|
2404
2277
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
2405
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2406
|
-
|
2407
|
-
|
2408
|
-
|
2409
|
-
|
2410
|
-
|
2411
|
-
</td>
|
2278
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to fill in with the current values.
|
2279
|
+
The family name in this structure will be set using
|
2280
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-family-static" title="pango_font_description_set_family_static ()"><code class="function">pango_font_description_set_family_static()</code></a> using values from
|
2281
|
+
an attribute in the <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> associated with the iterator,
|
2282
|
+
so if you plan to keep it around, you must call:
|
2283
|
+
<code class="literal">pango_font_description_set_family (desc, pango_font_description_get_family (desc))</code>.</td>
|
2412
2284
|
</tr>
|
2413
2285
|
<tr>
|
2414
2286
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2415
|
-
<td>if non-<a href="/
|
2416
|
-
|
2287
|
+
<td>if non-<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, location to store language tag for item, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2288
|
+
if none is found. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2417
2289
|
</td>
|
2418
2290
|
</tr>
|
2419
2291
|
<tr>
|
2420
2292
|
<td><p><span class="term"><em class="parameter"><code>extra_attrs</code></em> :</span></p></td>
|
2421
|
-
<td>
|
2422
|
-
|
2423
|
-
|
2424
|
-
|
2425
|
-
|
2426
|
-
|
2293
|
+
<td>if non-<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
2294
|
+
location in which to store a list of non-font
|
2295
|
+
attributes at the the current position; only the highest priority
|
2296
|
+
value of each attribute will be added to this list. In order
|
2297
|
+
to free this value, you must call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
|
2298
|
+
each member. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>][<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.Attribute][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
2427
2299
|
</td>
|
2428
2300
|
</tr>
|
2429
2301
|
</tbody>
|
@@ -2432,7 +2304,7 @@ Get the font and other attributes at the current iterator position.
|
|
2432
2304
|
<hr>
|
2433
2305
|
<div class="refsect2">
|
2434
2306
|
<a name="pango-attr-iterator-get-attrs"></a><h3>pango_attr_iterator_get_attrs ()</h3>
|
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>
|
2307
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * pango_attr_iterator_get_attrs (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2436
2308
|
<p>
|
2437
2309
|
Gets a list of all attributes at the current position of the
|
2438
2310
|
iterator.
|
@@ -2447,10 +2319,10 @@ iterator.
|
|
2447
2319
|
</tr>
|
2448
2320
|
<tr>
|
2449
2321
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2450
|
-
<td>
|
2451
|
-
|
2452
|
-
|
2453
|
-
|
2322
|
+
<td>a list of
|
2323
|
+
all attributes for the current range.
|
2324
|
+
To free this value, call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
|
2325
|
+
each value and <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> on the list. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.Attribute][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
2454
2326
|
</td>
|
2455
2327
|
</tr>
|
2456
2328
|
</tbody>
|
@@ -2468,8 +2340,7 @@ Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" ti
|
|
2468
2340
|
<col align="left" valign="top">
|
2469
2341
|
<tbody><tr>
|
2470
2342
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2471
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a
|
2472
|
-
</td>
|
2343
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>.</td>
|
2473
2344
|
</tr></tbody>
|
2474
2345
|
</table></div>
|
2475
2346
|
</div>
|
@@ -2477,6 +2348,6 @@ Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" ti
|
|
2477
2348
|
</div>
|
2478
2349
|
<div class="footer">
|
2479
2350
|
<hr>
|
2480
|
-
Generated by GTK-Doc V1.
|
2351
|
+
Generated by GTK-Doc V1.18</div>
|
2481
2352
|
</body>
|
2482
2353
|
</html>
|