gtk2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/Rakefile +3 -4
- data/ext/gtk2/extconf.rb +8 -0
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +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/bin/pkg-config.exe +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pixman-1/pixman-version.h +50 -0
- data/vendor/local/include/pixman-1/pixman.h +936 -0
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- 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/libpixman-1.a +0 -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.lib +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
- data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/pkg.m4 +155 -0
- data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
- metadata +3323 -3325
- data/ext/gtk2/Makefile +0 -163
- data/ext/gtk2/rbgdkkeysyms.h +0 -1708
- data/ext/gtk2/rbgtkinits.c +0 -469
- data/vendor/local/manifest/cairo-dev_1.10.0-1_win32.mft +0 -83
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/manifest/expat-dev_2.0.1-1_win32.mft +0 -10
- data/vendor/local/manifest/expat_2.0.1-1_win32.mft +0 -2
- data/vendor/local/manifest/fontconfig-dev_2.8.0-2_win32.mft +0 -387
- data/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +0 -3
- data/vendor/local/manifest/freetype-dev_2.4.2-1_win32.mft +0 -56
- data/vendor/local/manifest/freetype_2.4.2-1_win32.mft +0 -2
- data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
- data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
- data/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.4.3-1_win32.mft +0 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,29 +8,8 @@
|
|
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.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="pango.html" title="Basic Pango Interfaces">
|
14
|
-
<link rel="chapter" href="rendering.html" title="Rendering with Pango">
|
15
|
-
<link rel="chapter" href="lowlevel.html" title="Low Level Functionality">
|
16
|
-
<link rel="chapter" href="tools.html" title="Pango Tools">
|
17
|
-
<link rel="chapter" href="pango-hierarchy.html" title="Object Hierarchy">
|
18
|
-
<link rel="index" href="index-all.html" title="Index">
|
19
|
-
<link rel="index" href="index-deprecated.html" title="Index of deprecated symbols">
|
20
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
21
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
22
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
23
|
-
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
24
|
-
<link rel="index" href="index-1.10.html" title="Index of new symbols in 1.10">
|
25
|
-
<link rel="index" href="index-1.12.html" title="Index of new symbols in 1.12">
|
26
|
-
<link rel="index" href="index-1.14.html" title="Index of new symbols in 1.14">
|
27
|
-
<link rel="index" href="index-1.16.html" title="Index of new symbols in 1.16">
|
28
|
-
<link rel="index" href="index-1.18.html" title="Index of new symbols in 1.18">
|
29
|
-
<link rel="index" href="index-1.20.html" title="Index of new symbols in 1.20">
|
30
|
-
<link rel="index" href="index-1.22.html" title="Index of new symbols in 1.22">
|
31
|
-
<link rel="index" href="index-1.24.html" title="Index of new symbols in 1.24">
|
32
|
-
<link rel="index" href="index-1.26.html" title="Index of new symbols in 1.26">
|
33
|
-
<link rel="index" href="index-1.28.html" title="Index of new symbols in 1.26">
|
34
13
|
</head>
|
35
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
36
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-Text-Attributes.description" class="shortcut">Description</a>
|
48
27
|
</td></tr>
|
49
28
|
</table>
|
50
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
51
30
|
<a name="pango-Text-Attributes"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,72 +35,72 @@
|
|
56
35
|
</td>
|
57
36
|
<td valign="top" align="right"></td>
|
58
37
|
</tr></table></div>
|
59
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
60
39
|
<a name="pango-Text-Attributes.synopsis"></a><h2>Synopsis</h2>
|
61
40
|
<pre class="synopsis">enum <a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType">PangoAttrType</a>;
|
62
41
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-TYPE:CAPS" title="PANGO_TYPE_ATTR_TYPE">PANGO_TYPE_ATTR_TYPE</a>
|
63
|
-
|
64
|
-
|
42
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass">PangoAttrClass</a>;
|
43
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute">PangoAttribute</a>;
|
65
44
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-INDEX-FROM-TEXT-BEGINNING:CAPS" title="PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING">PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING</a>
|
66
45
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-INDEX-TO-TEXT-END:CAPS" title="PANGO_ATTR_INDEX_TO_TEXT_END">PANGO_ATTR_INDEX_TO_TEXT_END</a>
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
<
|
76
|
-
<span class="
|
77
|
-
<
|
78
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
79
|
-
<span class="
|
80
|
-
<
|
81
|
-
<
|
82
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> <a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()">pango_attr_type_register</a> (
|
83
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()">pango_attr_type_get_name</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="
|
84
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()">pango_attribute_init</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
85
|
-
const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="PangoAttrClass"><span class="
|
86
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attribute-copy" title="pango_attribute_copy ()">pango_attribute_copy</a> (const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
87
|
-
<
|
88
|
-
const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
89
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()">pango_attribute_destroy</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
46
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="struct PangoAttrString">PangoAttrString</a>;
|
47
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="struct PangoAttrLanguage">PangoAttrLanguage</a>;
|
48
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor">PangoAttrColor</a>;
|
49
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt">PangoAttrInt</a>;
|
50
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="struct PangoAttrFloat">PangoAttrFloat</a>;
|
51
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc">PangoAttrFontDesc</a>;
|
52
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape">PangoAttrShape</a>;
|
53
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrSize" title="struct PangoAttrSize">PangoAttrSize</a>;
|
54
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()">pango_parse_markup</a> (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
56
|
+
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
57
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
|
60
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
61
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> <a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()">pango_attr_type_register</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
|
62
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()">pango_attr_type_get_name</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
|
63
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()">pango_attribute_init</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>,
|
64
|
+
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass"><span class="type">PangoAttrClass</span></a> *klass</code></em>);
|
65
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attribute-copy" title="pango_attribute_copy ()">pango_attribute_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
66
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-equal" title="pango_attribute_equal ()">pango_attribute_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
|
67
|
+
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);
|
68
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()">pango_attribute_destroy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
90
69
|
|
91
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-language-new" title="pango_attr_language_new ()">pango_attr_language_new</a> (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
92
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-family-new" title="pango_attr_family_new ()">pango_attr_family_new</a> (const <span class="
|
93
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-style-new" title="pango_attr_style_new ()">pango_attr_style_new</a> (<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="
|
94
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-variant-new" title="pango_attr_variant_new ()">pango_attr_variant_new</a> (<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="
|
95
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-stretch-new" title="pango_attr_stretch_new ()">pango_attr_stretch_new</a> (<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="
|
96
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-weight-new" title="pango_attr_weight_new ()">pango_attr_weight_new</a> (<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="
|
97
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new" title="pango_attr_size_new ()">pango_attr_size_new</a> (<span class="
|
98
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new-absolute" title="pango_attr_size_new_absolute ()">pango_attr_size_new_absolute</a> (<span class="
|
99
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-font-desc-new" title="pango_attr_font_desc_new ()">pango_attr_font_desc_new</a> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
100
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-foreground-new" title="pango_attr_foreground_new ()">pango_attr_foreground_new</a> (<
|
101
|
-
<
|
102
|
-
<
|
103
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-background-new" title="pango_attr_background_new ()">pango_attr_background_new</a> (<
|
104
|
-
<
|
105
|
-
<
|
106
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-new" title="pango_attr_strikethrough_new ()">pango_attr_strikethrough_new</a> (<
|
107
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-color-new" title="pango_attr_strikethrough_color_new ()">pango_attr_strikethrough_color_new</a> (<
|
108
|
-
<
|
109
|
-
<
|
110
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-new" title="pango_attr_underline_new ()">pango_attr_underline_new</a> (<a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline"><span class="
|
111
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-color-new" title="pango_attr_underline_color_new ()">pango_attr_underline_color_new</a> (<
|
112
|
-
<
|
113
|
-
<
|
70
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-language-new" title="pango_attr_language_new ()">pango_attr_language_new</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
71
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-family-new" title="pango_attr_family_new ()">pango_attr_family_new</a> (<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);
|
72
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-style-new" title="pango_attr_style_new ()">pango_attr_style_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);
|
73
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-variant-new" title="pango_attr_variant_new ()">pango_attr_variant_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);
|
74
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-stretch-new" title="pango_attr_stretch_new ()">pango_attr_stretch_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);
|
75
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-weight-new" title="pango_attr_weight_new ()">pango_attr_weight_new</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);
|
76
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new" title="pango_attr_size_new ()">pango_attr_size_new</a> (<em class="parameter"><code><span class="type">int</span> size</code></em>);
|
77
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new-absolute" title="pango_attr_size_new_absolute ()">pango_attr_size_new_absolute</a> (<em class="parameter"><code><span class="type">int</span> size</code></em>);
|
78
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-font-desc-new" title="pango_attr_font_desc_new ()">pango_attr_font_desc_new</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
79
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-foreground-new" title="pango_attr_foreground_new ()">pango_attr_foreground_new</a> (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
80
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
81
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
|
82
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-background-new" title="pango_attr_background_new ()">pango_attr_background_new</a> (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
83
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
84
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
|
85
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-new" title="pango_attr_strikethrough_new ()">pango_attr_strikethrough_new</a> (<em class="parameter"><code><span class="type">gboolean</span> strikethrough</code></em>);
|
86
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-color-new" title="pango_attr_strikethrough_color_new ()">pango_attr_strikethrough_color_new</a> (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
87
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
88
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
|
89
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-new" title="pango_attr_underline_new ()">pango_attr_underline_new</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline"><span class="type">PangoUnderline</span></a> underline</code></em>);
|
90
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-color-new" title="pango_attr_underline_color_new ()">pango_attr_underline_color_new</a> (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
91
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
92
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
|
114
93
|
enum <a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline">PangoUnderline</a>;
|
115
94
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-UNDERLINE:CAPS" title="PANGO_TYPE_UNDERLINE">PANGO_TYPE_UNDERLINE</a>
|
116
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()">pango_attr_shape_new</a> (const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
117
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
118
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()">pango_attr_shape_new_with_data</a> (const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
119
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
120
|
-
<
|
121
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="
|
122
|
-
<
|
123
|
-
<
|
124
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-scale-new" title="pango_attr_scale_new ()">pango_attr_scale_new</a> (<span class="
|
95
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()">pango_attr_shape_new</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
96
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);
|
97
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()">pango_attr_shape_new_with_data</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
98
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
|
99
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
100
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
|
101
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);
|
102
|
+
<span class="returnvalue">gpointer</span> (<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()">*PangoAttrDataCopyFunc</a>) (<em class="parameter"><code><span class="type">gconstpointer</span> data</code></em>);
|
103
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-scale-new" title="pango_attr_scale_new ()">pango_attr_scale_new</a> (<em class="parameter"><code><span class="type">double</span> scale_factor</code></em>);
|
125
104
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-SMALL:CAPS" title="PANGO_SCALE_XX_SMALL">PANGO_SCALE_XX_SMALL</a>
|
126
105
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-SMALL:CAPS" title="PANGO_SCALE_X_SMALL">PANGO_SCALE_X_SMALL</a>
|
127
106
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-SMALL:CAPS" title="PANGO_SCALE_SMALL">PANGO_SCALE_SMALL</a>
|
@@ -129,58 +108,58 @@ enum <a class="link" href="pango-Text-Attributes.html#PangoUnderl
|
|
129
108
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-LARGE:CAPS" title="PANGO_SCALE_LARGE">PANGO_SCALE_LARGE</a>
|
130
109
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-LARGE:CAPS" title="PANGO_SCALE_X_LARGE">PANGO_SCALE_X_LARGE</a>
|
131
110
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-LARGE:CAPS" title="PANGO_SCALE_XX_LARGE">PANGO_SCALE_XX_LARGE</a>
|
132
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-rise-new" title="pango_attr_rise_new ()">pango_attr_rise_new</a> (<span class="
|
133
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-letter-spacing-new" title="pango_attr_letter_spacing_new ()">pango_attr_letter_spacing_new</a> (<span class="
|
134
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-fallback-new" title="pango_attr_fallback_new ()">pango_attr_fallback_new</a> (<
|
135
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-new" title="pango_attr_gravity_new ()">pango_attr_gravity_new</a> (<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
136
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-hint-new" title="pango_attr_gravity_hint_new ()">pango_attr_gravity_hint_new</a> (<a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="
|
137
|
-
|
111
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-rise-new" title="pango_attr_rise_new ()">pango_attr_rise_new</a> (<em class="parameter"><code><span class="type">int</span> rise</code></em>);
|
112
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-letter-spacing-new" title="pango_attr_letter_spacing_new ()">pango_attr_letter_spacing_new</a> (<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);
|
113
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-fallback-new" title="pango_attr_fallback_new ()">pango_attr_fallback_new</a> (<em class="parameter"><code><span class="type">gboolean</span> enable_fallback</code></em>);
|
114
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-new" title="pango_attr_gravity_new ()">pango_attr_gravity_new</a> (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
|
115
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-hint-new" title="pango_attr_gravity_hint_new ()">pango_attr_gravity_hint_new</a> (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);
|
116
|
+
struct <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor">PangoColor</a>;
|
138
117
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-COLOR:CAPS" title="PANGO_TYPE_COLOR">PANGO_TYPE_COLOR</a>
|
139
|
-
<
|
140
|
-
const <span class="
|
141
|
-
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()">pango_color_copy</a> (const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="
|
142
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()">pango_color_free</a> (<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="
|
143
|
-
<
|
118
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-color-parse" title="pango_color_parse ()">pango_color_parse</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
119
|
+
<em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);
|
120
|
+
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="returnvalue">PangoColor</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()">pango_color_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *src</code></em>);
|
121
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()">pango_color_free</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
|
122
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="pango-Text-Attributes.html#pango-color-to-string" title="pango_color_to_string ()">pango_color_to_string</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
|
144
123
|
|
145
124
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList">PangoAttrList</a>;
|
146
125
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-LIST:CAPS" title="PANGO_TYPE_ATTR_LIST">PANGO_TYPE_ATTR_LIST</a>
|
147
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-new" title="pango_attr_list_new ()">pango_attr_list_new</a> (void);
|
148
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-ref" title="pango_attr_list_ref ()">pango_attr_list_ref</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
149
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()">pango_attr_list_unref</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
150
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-copy" title="pango_attr_list_copy ()">pango_attr_list_copy</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
151
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert" title="pango_attr_list_insert ()">pango_attr_list_insert</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
152
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
153
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert-before" title="pango_attr_list_insert_before ()">pango_attr_list_insert_before</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
154
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
155
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-change" title="pango_attr_list_change ()">pango_attr_list_change</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
156
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
157
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-splice" title="pango_attr_list_splice ()">pango_attr_list_splice</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
158
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
159
|
-
<
|
160
|
-
<
|
161
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-filter" title="pango_attr_list_filter ()">pango_attr_list_filter</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
162
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="
|
163
|
-
<
|
164
|
-
<
|
165
|
-
<
|
166
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-get-iterator" title="pango_attr_list_get_iterator ()">pango_attr_list_get_iterator</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
126
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-new" title="pango_attr_list_new ()">pango_attr_list_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
127
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-ref" title="pango_attr_list_ref ()">pango_attr_list_ref</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
128
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()">pango_attr_list_unref</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
129
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-copy" title="pango_attr_list_copy ()">pango_attr_list_copy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
130
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert" title="pango_attr_list_insert ()">pango_attr_list_insert</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
131
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
132
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert-before" title="pango_attr_list_insert_before ()">pango_attr_list_insert_before</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
133
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
134
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-change" title="pango_attr_list_change ()">pango_attr_list_change</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
135
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
136
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-splice" title="pango_attr_list_splice ()">pango_attr_list_splice</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
137
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
|
138
|
+
<em class="parameter"><code><span class="type">gint</span> pos</code></em>,
|
139
|
+
<em class="parameter"><code><span class="type">gint</span> len</code></em>);
|
140
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-filter" title="pango_attr_list_filter ()">pango_attr_list_filter</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
141
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
|
142
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
143
|
+
<span class="returnvalue">gboolean</span> (<a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()">*PangoAttrFilterFunc</a>) (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
|
144
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
145
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-get-iterator" title="pango_attr_list_get_iterator ()">pango_attr_list_get_iterator</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
167
146
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator">PangoAttrIterator</a>;
|
168
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-copy" title="pango_attr_iterator_copy ()">pango_attr_iterator_copy</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
169
|
-
<
|
170
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-range" title="pango_attr_iterator_range ()">pango_attr_iterator_range</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
171
|
-
<
|
172
|
-
<
|
173
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get" title="pango_attr_iterator_get ()">pango_attr_iterator_get</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
174
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="
|
175
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-font" title="pango_attr_iterator_get_font ()">pango_attr_iterator_get_font</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
176
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
177
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
178
|
-
<
|
179
|
-
<
|
180
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()">pango_attr_iterator_destroy</a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
147
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-copy" title="pango_attr_iterator_copy ()">pango_attr_iterator_copy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
148
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-next" title="pango_attr_iterator_next ()">pango_attr_iterator_next</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
149
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-range" title="pango_attr_iterator_range ()">pango_attr_iterator_range</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
150
|
+
<em class="parameter"><code><span class="type">gint</span> *start</code></em>,
|
151
|
+
<em class="parameter"><code><span class="type">gint</span> *end</code></em>);
|
152
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get" title="pango_attr_iterator_get ()">pango_attr_iterator_get</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
153
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
|
154
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-font" title="pango_attr_iterator_get_font ()">pango_attr_iterator_get_font</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
155
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
156
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
|
157
|
+
<em class="parameter"><code><span class="type">GSList</span> **extra_attrs</code></em>);
|
158
|
+
<span class="returnvalue">GSList</span> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-attrs" title="pango_attr_iterator_get_attrs ()">pango_attr_iterator_get_attrs</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
159
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()">pango_attr_iterator_destroy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
181
160
|
</pre>
|
182
161
|
</div>
|
183
|
-
<div class="refsect1"
|
162
|
+
<div class="refsect1">
|
184
163
|
<a name="pango-Text-Attributes.description"></a><h2>Description</h2>
|
185
164
|
<p>
|
186
165
|
Attributed text is used in a number of places in Pango. It
|
@@ -190,9 +169,9 @@ this section are used to represent and manipulate sets
|
|
190
169
|
of attributes applied to a portion of text.
|
191
170
|
</p>
|
192
171
|
</div>
|
193
|
-
<div class="refsect1"
|
172
|
+
<div class="refsect1">
|
194
173
|
<a name="pango-Text-Attributes.details"></a><h2>Details</h2>
|
195
|
-
<div class="refsect2"
|
174
|
+
<div class="refsect2">
|
196
175
|
<a name="PangoAttrType"></a><h3>enum PangoAttrType</h3>
|
197
176
|
<pre class="programlisting">typedef enum
|
198
177
|
{
|
@@ -239,141 +218,141 @@ attribute is listed in parentheses after the description.
|
|
239
218
|
</tr>
|
240
219
|
<tr>
|
241
220
|
<td><p><a name="PANGO-ATTR-LANGUAGE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_LANGUAGE</code></span></p></td>
|
242
|
-
<td>language (<a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="PangoAttrLanguage"><span class="type">PangoAttrLanguage</span></a>)
|
221
|
+
<td>language (<a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="struct PangoAttrLanguage"><span class="type">PangoAttrLanguage</span></a>)
|
243
222
|
</td>
|
244
223
|
</tr>
|
245
224
|
<tr>
|
246
225
|
<td><p><a name="PANGO-ATTR-FAMILY:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_FAMILY</code></span></p></td>
|
247
|
-
<td>font family name list (<a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="PangoAttrString"><span class="type">PangoAttrString</span></a>)
|
226
|
+
<td>font family name list (<a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="struct PangoAttrString"><span class="type">PangoAttrString</span></a>)
|
248
227
|
</td>
|
249
228
|
</tr>
|
250
229
|
<tr>
|
251
230
|
<td><p><a name="PANGO-ATTR-STYLE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_STYLE</code></span></p></td>
|
252
|
-
<td>font slant style (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
231
|
+
<td>font slant style (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
253
232
|
</td>
|
254
233
|
</tr>
|
255
234
|
<tr>
|
256
235
|
<td><p><a name="PANGO-ATTR-WEIGHT:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_WEIGHT</code></span></p></td>
|
257
|
-
<td>font weight (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
236
|
+
<td>font weight (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
258
237
|
</td>
|
259
238
|
</tr>
|
260
239
|
<tr>
|
261
240
|
<td><p><a name="PANGO-ATTR-VARIANT:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_VARIANT</code></span></p></td>
|
262
|
-
<td>font variant (normal or small caps) (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
241
|
+
<td>font variant (normal or small caps) (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
263
242
|
</td>
|
264
243
|
</tr>
|
265
244
|
<tr>
|
266
245
|
<td><p><a name="PANGO-ATTR-STRETCH:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_STRETCH</code></span></p></td>
|
267
|
-
<td>font stretch (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
246
|
+
<td>font stretch (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
268
247
|
</td>
|
269
248
|
</tr>
|
270
249
|
<tr>
|
271
250
|
<td><p><a name="PANGO-ATTR-SIZE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_SIZE</code></span></p></td>
|
272
|
-
<td>font size in points scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
251
|
+
<td>font size in points scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
273
252
|
</td>
|
274
253
|
</tr>
|
275
254
|
<tr>
|
276
255
|
<td><p><a name="PANGO-ATTR-FONT-DESC:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_FONT_DESC</code></span></p></td>
|
277
|
-
<td>font description (<a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="PangoAttrFontDesc"><span class="type">PangoAttrFontDesc</span></a>)
|
256
|
+
<td>font description (<a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc"><span class="type">PangoAttrFontDesc</span></a>)
|
278
257
|
</td>
|
279
258
|
</tr>
|
280
259
|
<tr>
|
281
260
|
<td><p><a name="PANGO-ATTR-FOREGROUND:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_FOREGROUND</code></span></p></td>
|
282
|
-
<td>foreground color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
|
261
|
+
<td>foreground color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
|
283
262
|
</td>
|
284
263
|
</tr>
|
285
264
|
<tr>
|
286
265
|
<td><p><a name="PANGO-ATTR-BACKGROUND:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_BACKGROUND</code></span></p></td>
|
287
|
-
<td>background color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
|
266
|
+
<td>background color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
|
288
267
|
</td>
|
289
268
|
</tr>
|
290
269
|
<tr>
|
291
270
|
<td><p><a name="PANGO-ATTR-UNDERLINE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_UNDERLINE</code></span></p></td>
|
292
|
-
<td>whether the text has an underline (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
271
|
+
<td>whether the text has an underline (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
293
272
|
</td>
|
294
273
|
</tr>
|
295
274
|
<tr>
|
296
275
|
<td><p><a name="PANGO-ATTR-STRIKETHROUGH:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_STRIKETHROUGH</code></span></p></td>
|
297
|
-
<td>whether the text is struck-through (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
276
|
+
<td>whether the text is struck-through (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
298
277
|
</td>
|
299
278
|
</tr>
|
300
279
|
<tr>
|
301
280
|
<td><p><a name="PANGO-ATTR-RISE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_RISE</code></span></p></td>
|
302
|
-
<td>baseline displacement (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
281
|
+
<td>baseline displacement (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
303
282
|
</td>
|
304
283
|
</tr>
|
305
284
|
<tr>
|
306
285
|
<td><p><a name="PANGO-ATTR-SHAPE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_SHAPE</code></span></p></td>
|
307
|
-
<td>shape (<a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="PangoAttrShape"><span class="type">PangoAttrShape</span></a>)
|
286
|
+
<td>shape (<a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a>)
|
308
287
|
</td>
|
309
288
|
</tr>
|
310
289
|
<tr>
|
311
290
|
<td><p><a name="PANGO-ATTR-SCALE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_SCALE</code></span></p></td>
|
312
|
-
<td>font size scale factor (<a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="PangoAttrFloat"><span class="type">PangoAttrFloat</span></a>)
|
291
|
+
<td>font size scale factor (<a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="struct PangoAttrFloat"><span class="type">PangoAttrFloat</span></a>)
|
313
292
|
</td>
|
314
293
|
</tr>
|
315
294
|
<tr>
|
316
295
|
<td><p><a name="PANGO-ATTR-FALLBACK:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_FALLBACK</code></span></p></td>
|
317
|
-
<td>whether fallback is enabled (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
296
|
+
<td>whether fallback is enabled (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
318
297
|
</td>
|
319
298
|
</tr>
|
320
299
|
<tr>
|
321
300
|
<td><p><a name="PANGO-ATTR-LETTER-SPACING:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_LETTER_SPACING</code></span></p></td>
|
322
|
-
<td>letter spacing (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
301
|
+
<td>letter spacing (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
323
302
|
</td>
|
324
303
|
</tr>
|
325
304
|
<tr>
|
326
305
|
<td><p><a name="PANGO-ATTR-UNDERLINE-COLOR:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_UNDERLINE_COLOR</code></span></p></td>
|
327
|
-
<td>underline color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
|
306
|
+
<td>underline color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
|
328
307
|
</td>
|
329
308
|
</tr>
|
330
309
|
<tr>
|
331
310
|
<td><p><a name="PANGO-ATTR-STRIKETHROUGH-COLOR:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_STRIKETHROUGH_COLOR</code></span></p></td>
|
332
|
-
<td>strikethrough color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
|
311
|
+
<td>strikethrough color (<a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a>)
|
333
312
|
</td>
|
334
313
|
</tr>
|
335
314
|
<tr>
|
336
315
|
<td><p><a name="PANGO-ATTR-ABSOLUTE-SIZE:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></span></p></td>
|
337
|
-
<td>font size in pixels scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
316
|
+
<td>font size in pixels scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
338
317
|
</td>
|
339
318
|
</tr>
|
340
319
|
<tr>
|
341
320
|
<td><p><a name="PANGO-ATTR-GRAVITY:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_GRAVITY</code></span></p></td>
|
342
|
-
<td>base text gravity (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
321
|
+
<td>base text gravity (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
343
322
|
</td>
|
344
323
|
</tr>
|
345
324
|
<tr>
|
346
325
|
<td><p><a name="PANGO-ATTR-GRAVITY-HINT:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_GRAVITY_HINT</code></span></p></td>
|
347
|
-
<td>gravity hint (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
326
|
+
<td>gravity hint (<a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a>)
|
348
327
|
</td>
|
349
328
|
</tr>
|
350
329
|
</tbody>
|
351
330
|
</table></div>
|
352
331
|
</div>
|
353
332
|
<hr>
|
354
|
-
<div class="refsect2"
|
333
|
+
<div class="refsect2">
|
355
334
|
<a name="PANGO-TYPE-ATTR-TYPE:CAPS"></a><h3>PANGO_TYPE_ATTR_TYPE</h3>
|
356
335
|
<pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
|
357
336
|
</pre>
|
358
337
|
<p>
|
359
|
-
The <
|
338
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a>.
|
360
339
|
</p>
|
361
340
|
</div>
|
362
341
|
<hr>
|
363
|
-
<div class="refsect2"
|
364
|
-
<a name="PangoAttrClass"></a><h3>PangoAttrClass</h3>
|
365
|
-
<pre class="programlisting">
|
342
|
+
<div class="refsect2">
|
343
|
+
<a name="PangoAttrClass"></a><h3>struct PangoAttrClass</h3>
|
344
|
+
<pre class="programlisting">struct PangoAttrClass {
|
366
345
|
PangoAttrType type;
|
367
346
|
PangoAttribute * (*copy) (const PangoAttribute *attr);
|
368
347
|
void (*destroy) (PangoAttribute *attr);
|
369
348
|
gboolean (*equal) (const PangoAttribute *attr1, const PangoAttribute *attr2);
|
370
|
-
}
|
349
|
+
};
|
371
350
|
</pre>
|
372
351
|
<p>
|
373
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="PangoAttrClass"><span class="type">PangoAttrClass</span></a> structure stores the type and operations for
|
352
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass"><span class="type">PangoAttrClass</span></a> structure stores the type and operations for
|
374
353
|
a particular type of attribute. The functions in this structure should
|
375
354
|
not be called directly. Instead, one should use the wrapper functions
|
376
|
-
provided for <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>.
|
355
|
+
provided for <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>.
|
377
356
|
</p>
|
378
357
|
<div class="variablelist"><table border="0">
|
379
358
|
<col align="left" valign="top">
|
@@ -402,37 +381,37 @@ provided for <a class="link" href="pango-Text-Attributes.html#PangoAttribute" ti
|
|
402
381
|
</table></div>
|
403
382
|
</div>
|
404
383
|
<hr>
|
405
|
-
<div class="refsect2"
|
406
|
-
<a name="PangoAttribute"></a><h3>PangoAttribute</h3>
|
407
|
-
<pre class="programlisting">
|
384
|
+
<div class="refsect2">
|
385
|
+
<a name="PangoAttribute"></a><h3>struct PangoAttribute</h3>
|
386
|
+
<pre class="programlisting">struct PangoAttribute {
|
408
387
|
const PangoAttrClass *klass;
|
409
388
|
guint start_index; /* in bytes */
|
410
389
|
guint end_index; /* in bytes. The character at this index is not included */
|
411
|
-
}
|
390
|
+
};
|
412
391
|
</pre>
|
413
392
|
<p>
|
414
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> structure represents the common portions of all
|
393
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> structure represents the common portions of all
|
415
394
|
attributes. Particular types of attributes include this structure
|
416
395
|
as their initial portion. The common portion of the attribute holds
|
417
396
|
the range to which the value in the type-specific part of the attribute
|
418
397
|
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>.
|
419
|
-
By default an attribute will have an all-inclusive range of [0,<
|
398
|
+
By default an attribute will have an all-inclusive range of [0,<code class="literal">G_MAXUINT</code>].
|
420
399
|
</p>
|
421
400
|
<div class="variablelist"><table border="0">
|
422
401
|
<col align="left" valign="top">
|
423
402
|
<tbody>
|
424
403
|
<tr>
|
425
|
-
<td><p><span class="term">const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="PangoAttrClass"><span class="type">PangoAttrClass</span></a> *<em class="structfield"><code><a name="PangoAttribute.klass"></a>klass</code></em>;</span></p></td>
|
404
|
+
<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>
|
426
405
|
<td>the class structure holding information about the type of the attribute
|
427
406
|
</td>
|
428
407
|
</tr>
|
429
408
|
<tr>
|
430
|
-
<td><p><span class="term"><
|
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>
|
431
410
|
<td>the start index of the range (in bytes).
|
432
411
|
</td>
|
433
412
|
</tr>
|
434
413
|
<tr>
|
435
|
-
<td><p><span class="term"><
|
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>
|
436
415
|
<td>end index of the range (in bytes). The character at this index
|
437
416
|
is not included in the range.
|
438
417
|
</td>
|
@@ -441,42 +420,42 @@ By default an attribute will have an all-inclusive range of [0,<a href="/usr/sha
|
|
441
420
|
</table></div>
|
442
421
|
</div>
|
443
422
|
<hr>
|
444
|
-
<div class="refsect2"
|
423
|
+
<div class="refsect2">
|
445
424
|
<a name="PANGO-ATTR-INDEX-FROM-TEXT-BEGINNING:CAPS"></a><h3>PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING</h3>
|
446
425
|
<pre class="programlisting">#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING 0
|
447
426
|
</pre>
|
448
427
|
<p>
|
449
|
-
This value can be used to set the start_index member of a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>
|
428
|
+
This value can be used to set the start_index member of a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
|
450
429
|
such that the attribute covers from the beginning of the text.
|
451
430
|
</p>
|
452
431
|
Since: 1.24</div>
|
453
432
|
<hr>
|
454
|
-
<div class="refsect2"
|
433
|
+
<div class="refsect2">
|
455
434
|
<a name="PANGO-ATTR-INDEX-TO-TEXT-END:CAPS"></a><h3>PANGO_ATTR_INDEX_TO_TEXT_END</h3>
|
456
435
|
<pre class="programlisting">#define PANGO_ATTR_INDEX_TO_TEXT_END G_MAXUINT
|
457
436
|
</pre>
|
458
437
|
<p>
|
459
|
-
This value can be used to set the end_index member of a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>
|
438
|
+
This value can be used to set the end_index member of a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
|
460
439
|
such that the attribute covers to the end of the text.
|
461
440
|
</p>
|
462
441
|
Since: 1.24</div>
|
463
442
|
<hr>
|
464
|
-
<div class="refsect2"
|
465
|
-
<a name="PangoAttrString"></a><h3>PangoAttrString</h3>
|
466
|
-
<pre class="programlisting">
|
443
|
+
<div class="refsect2">
|
444
|
+
<a name="PangoAttrString"></a><h3>struct PangoAttrString</h3>
|
445
|
+
<pre class="programlisting">struct PangoAttrString {
|
467
446
|
PangoAttribute attr;
|
468
447
|
char *value;
|
469
|
-
}
|
448
|
+
};
|
470
449
|
</pre>
|
471
450
|
<p>
|
472
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="PangoAttrString"><span class="type">PangoAttrString</span></a> structure is used to represent attributes with
|
451
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="struct PangoAttrString"><span class="type">PangoAttrString</span></a> structure is used to represent attributes with
|
473
452
|
a string value.
|
474
453
|
</p>
|
475
454
|
<div class="variablelist"><table border="0">
|
476
455
|
<col align="left" valign="top">
|
477
456
|
<tbody>
|
478
457
|
<tr>
|
479
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrString.attr"></a>attr</code></em>;</span></p></td>
|
458
|
+
<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>
|
480
459
|
<td>the common portion of the attribute
|
481
460
|
</td>
|
482
461
|
</tr>
|
@@ -489,22 +468,22 @@ a string value.
|
|
489
468
|
</table></div>
|
490
469
|
</div>
|
491
470
|
<hr>
|
492
|
-
<div class="refsect2"
|
493
|
-
<a name="PangoAttrLanguage"></a><h3>PangoAttrLanguage</h3>
|
494
|
-
<pre class="programlisting">
|
471
|
+
<div class="refsect2">
|
472
|
+
<a name="PangoAttrLanguage"></a><h3>struct PangoAttrLanguage</h3>
|
473
|
+
<pre class="programlisting">struct PangoAttrLanguage {
|
495
474
|
PangoAttribute attr;
|
496
475
|
PangoLanguage *value;
|
497
|
-
}
|
476
|
+
};
|
498
477
|
</pre>
|
499
478
|
<p>
|
500
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="PangoAttrLanguage"><span class="type">PangoAttrLanguage</span></a> structure is used to represent attributes that
|
479
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="struct PangoAttrLanguage"><span class="type">PangoAttrLanguage</span></a> structure is used to represent attributes that
|
501
480
|
are languages.
|
502
481
|
</p>
|
503
482
|
<div class="variablelist"><table border="0">
|
504
483
|
<col align="left" valign="top">
|
505
484
|
<tbody>
|
506
485
|
<tr>
|
507
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrLanguage.attr"></a>attr</code></em>;</span></p></td>
|
486
|
+
<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>
|
508
487
|
<td>the common portion of the attribute
|
509
488
|
</td>
|
510
489
|
</tr>
|
@@ -517,50 +496,50 @@ are languages.
|
|
517
496
|
</table></div>
|
518
497
|
</div>
|
519
498
|
<hr>
|
520
|
-
<div class="refsect2"
|
521
|
-
<a name="PangoAttrColor"></a><h3>PangoAttrColor</h3>
|
522
|
-
<pre class="programlisting">
|
499
|
+
<div class="refsect2">
|
500
|
+
<a name="PangoAttrColor"></a><h3>struct PangoAttrColor</h3>
|
501
|
+
<pre class="programlisting">struct PangoAttrColor {
|
523
502
|
PangoAttribute attr;
|
524
503
|
PangoColor color;
|
525
|
-
}
|
504
|
+
};
|
526
505
|
</pre>
|
527
506
|
<p>
|
528
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="PangoAttrColor"><span class="type">PangoAttrColor</span></a> structure is used to represent attributes that
|
507
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a> structure is used to represent attributes that
|
529
508
|
are colors.
|
530
509
|
</p>
|
531
510
|
<div class="variablelist"><table border="0">
|
532
511
|
<col align="left" valign="top">
|
533
512
|
<tbody>
|
534
513
|
<tr>
|
535
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrColor.attr"></a>attr</code></em>;</span></p></td>
|
514
|
+
<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>
|
536
515
|
<td>the common portion of the attribute
|
537
516
|
</td>
|
538
517
|
</tr>
|
539
518
|
<tr>
|
540
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a> <em class="structfield"><code><a name="PangoAttrColor.color"></a>color</code></em>;</span></p></td>
|
541
|
-
<td>the <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a> which is the value of the attribute
|
519
|
+
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> <em class="structfield"><code><a name="PangoAttrColor.color"></a>color</code></em>;</span></p></td>
|
520
|
+
<td>the <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> which is the value of the attribute
|
542
521
|
</td>
|
543
522
|
</tr>
|
544
523
|
</tbody>
|
545
524
|
</table></div>
|
546
525
|
</div>
|
547
526
|
<hr>
|
548
|
-
<div class="refsect2"
|
549
|
-
<a name="PangoAttrInt"></a><h3>PangoAttrInt</h3>
|
550
|
-
<pre class="programlisting">
|
527
|
+
<div class="refsect2">
|
528
|
+
<a name="PangoAttrInt"></a><h3>struct PangoAttrInt</h3>
|
529
|
+
<pre class="programlisting">struct PangoAttrInt {
|
551
530
|
PangoAttribute attr;
|
552
531
|
int value;
|
553
|
-
}
|
532
|
+
};
|
554
533
|
</pre>
|
555
534
|
<p>
|
556
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="PangoAttrInt"><span class="type">PangoAttrInt</span></a> structure is used to represent attributes with
|
535
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a> structure is used to represent attributes with
|
557
536
|
an integer or enumeration value.
|
558
537
|
</p>
|
559
538
|
<div class="variablelist"><table border="0">
|
560
539
|
<col align="left" valign="top">
|
561
540
|
<tbody>
|
562
541
|
<tr>
|
563
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrInt.attr"></a>attr</code></em>;</span></p></td>
|
542
|
+
<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>
|
564
543
|
<td>the common portion of the attribute
|
565
544
|
</td>
|
566
545
|
</tr>
|
@@ -573,22 +552,22 @@ an integer or enumeration value.
|
|
573
552
|
</table></div>
|
574
553
|
</div>
|
575
554
|
<hr>
|
576
|
-
<div class="refsect2"
|
577
|
-
<a name="PangoAttrFloat"></a><h3>PangoAttrFloat</h3>
|
578
|
-
<pre class="programlisting">
|
555
|
+
<div class="refsect2">
|
556
|
+
<a name="PangoAttrFloat"></a><h3>struct PangoAttrFloat</h3>
|
557
|
+
<pre class="programlisting">struct PangoAttrFloat {
|
579
558
|
PangoAttribute attr;
|
580
559
|
double value;
|
581
|
-
}
|
560
|
+
};
|
582
561
|
</pre>
|
583
562
|
<p>
|
584
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="PangoAttrFloat"><span class="type">PangoAttrFloat</span></a> structure is used to represent attributes with
|
563
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="struct PangoAttrFloat"><span class="type">PangoAttrFloat</span></a> structure is used to represent attributes with
|
585
564
|
a float or double value.
|
586
565
|
</p>
|
587
566
|
<div class="variablelist"><table border="0">
|
588
567
|
<col align="left" valign="top">
|
589
568
|
<tbody>
|
590
569
|
<tr>
|
591
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrFloat.attr"></a>attr</code></em>;</span></p></td>
|
570
|
+
<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>
|
592
571
|
<td>the common portion of the attribute
|
593
572
|
</td>
|
594
573
|
</tr>
|
@@ -601,22 +580,22 @@ a float or double value.
|
|
601
580
|
</table></div>
|
602
581
|
</div>
|
603
582
|
<hr>
|
604
|
-
<div class="refsect2"
|
605
|
-
<a name="PangoAttrFontDesc"></a><h3>PangoAttrFontDesc</h3>
|
606
|
-
<pre class="programlisting">
|
583
|
+
<div class="refsect2">
|
584
|
+
<a name="PangoAttrFontDesc"></a><h3>struct PangoAttrFontDesc</h3>
|
585
|
+
<pre class="programlisting">struct PangoAttrFontDesc {
|
607
586
|
PangoAttribute attr;
|
608
587
|
PangoFontDescription *desc;
|
609
|
-
}
|
588
|
+
};
|
610
589
|
</pre>
|
611
590
|
<p>
|
612
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="PangoAttrFontDesc"><span class="type">PangoAttrFontDesc</span></a> structure is used to store an attribute that
|
591
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc"><span class="type">PangoAttrFontDesc</span></a> structure is used to store an attribute that
|
613
592
|
sets all aspects of the font description at once.
|
614
593
|
</p>
|
615
594
|
<div class="variablelist"><table border="0">
|
616
595
|
<col align="left" valign="top">
|
617
596
|
<tbody>
|
618
597
|
<tr>
|
619
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrFontDesc.attr"></a>attr</code></em>;</span></p></td>
|
598
|
+
<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>
|
620
599
|
<td>the common portion of the attribute
|
621
600
|
</td>
|
622
601
|
</tr>
|
@@ -629,9 +608,9 @@ sets all aspects of the font description at once.
|
|
629
608
|
</table></div>
|
630
609
|
</div>
|
631
610
|
<hr>
|
632
|
-
<div class="refsect2"
|
633
|
-
<a name="PangoAttrShape"></a><h3>PangoAttrShape</h3>
|
634
|
-
<pre class="programlisting">
|
611
|
+
<div class="refsect2">
|
612
|
+
<a name="PangoAttrShape"></a><h3>struct PangoAttrShape</h3>
|
613
|
+
<pre class="programlisting">struct PangoAttrShape {
|
635
614
|
PangoAttribute attr;
|
636
615
|
PangoRectangle ink_rect;
|
637
616
|
PangoRectangle logical_rect;
|
@@ -639,32 +618,32 @@ sets all aspects of the font description at once.
|
|
639
618
|
gpointer data;
|
640
619
|
PangoAttrDataCopyFunc copy_func;
|
641
620
|
GDestroyNotify destroy_func;
|
642
|
-
}
|
621
|
+
};
|
643
622
|
</pre>
|
644
623
|
<p>
|
645
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="PangoAttrShape"><span class="type">PangoAttrShape</span></a> structure is used to represent attributes which
|
624
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a> structure is used to represent attributes which
|
646
625
|
impose shape restrictions.
|
647
626
|
</p>
|
648
627
|
<div class="variablelist"><table border="0">
|
649
628
|
<col align="left" valign="top">
|
650
629
|
<tbody>
|
651
630
|
<tr>
|
652
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrShape.attr"></a>attr</code></em>;</span></p></td>
|
631
|
+
<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>
|
653
632
|
<td>the common portion of the attribute
|
654
633
|
</td>
|
655
634
|
</tr>
|
656
635
|
<tr>
|
657
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> <em class="structfield"><code><a name="PangoAttrShape.ink-rect"></a>ink_rect</code></em>;</span></p></td>
|
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>
|
658
637
|
<td>the ink rectangle to restrict to
|
659
638
|
</td>
|
660
639
|
</tr>
|
661
640
|
<tr>
|
662
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> <em class="structfield"><code><a name="PangoAttrShape.logical-rect"></a>logical_rect</code></em>;</span></p></td>
|
641
|
+
<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>
|
663
642
|
<td>the logical rectangle to restrict to
|
664
643
|
</td>
|
665
644
|
</tr>
|
666
645
|
<tr>
|
667
|
-
<td><p><span class="term"><
|
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>
|
668
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>)
|
669
648
|
</td>
|
670
649
|
</tr>
|
@@ -674,7 +653,7 @@ impose shape restrictions.
|
|
674
653
|
</td>
|
675
654
|
</tr>
|
676
655
|
<tr>
|
677
|
-
<td><p><span class="term"><
|
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>
|
678
657
|
<td>destroy function for the user data
|
679
658
|
</td>
|
680
659
|
</tr>
|
@@ -682,23 +661,23 @@ impose shape restrictions.
|
|
682
661
|
</table></div>
|
683
662
|
</div>
|
684
663
|
<hr>
|
685
|
-
<div class="refsect2"
|
686
|
-
<a name="PangoAttrSize"></a><h3>PangoAttrSize</h3>
|
687
|
-
<pre class="programlisting">
|
664
|
+
<div class="refsect2">
|
665
|
+
<a name="PangoAttrSize"></a><h3>struct PangoAttrSize</h3>
|
666
|
+
<pre class="programlisting">struct PangoAttrSize {
|
688
667
|
PangoAttribute attr;
|
689
668
|
int size;
|
690
669
|
guint absolute : 1;
|
691
|
-
}
|
670
|
+
};
|
692
671
|
</pre>
|
693
672
|
<p>
|
694
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="PangoAttrShape"><span class="type">PangoAttrShape</span></a> structure is used to represent attributes which
|
673
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a> structure is used to represent attributes which
|
695
674
|
set font size.
|
696
675
|
</p>
|
697
676
|
<div class="variablelist"><table border="0">
|
698
677
|
<col align="left" valign="top">
|
699
678
|
<tbody>
|
700
679
|
<tr>
|
701
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrSize.attr"></a>attr</code></em>;</span></p></td>
|
680
|
+
<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>
|
702
681
|
<td>the common portion of the attribute
|
703
682
|
</td>
|
704
683
|
</tr>
|
@@ -709,26 +688,26 @@ set font size.
|
|
709
688
|
</td>
|
710
689
|
</tr>
|
711
690
|
<tr>
|
712
|
-
<td><p><span class="term"><
|
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>
|
713
692
|
<td>whether the font size is in device units or points.
|
714
693
|
This field is only present for compatibility with Pango-1.8.0
|
715
694
|
(<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
|
716
|
-
be <
|
695
|
+
be <code class="literal">FALSE</code> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a> and <code class="literal">TRUE</code> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>.
|
717
696
|
</td>
|
718
697
|
</tr>
|
719
698
|
</tbody>
|
720
699
|
</table></div>
|
721
700
|
</div>
|
722
701
|
<hr>
|
723
|
-
<div class="refsect2"
|
702
|
+
<div class="refsect2">
|
724
703
|
<a name="pango-parse-markup"></a><h3>pango_parse_markup ()</h3>
|
725
|
-
<pre class="programlisting"><
|
726
|
-
<span class="
|
727
|
-
<
|
728
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
729
|
-
<span class="
|
730
|
-
<
|
731
|
-
<
|
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>,
|
705
|
+
<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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
708
|
+
<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>
|
732
711
|
<p>
|
733
712
|
Parses marked-up text (see
|
734
713
|
<a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>) to create
|
@@ -745,66 +724,68 @@ literal <em class="parameter"><code>accel_marker</code></em> character.
|
|
745
724
|
</p>
|
746
725
|
<p>
|
747
726
|
If any error happens, none of the output arguments are touched except
|
748
|
-
for <em class="parameter"><code>error</code></em
|
727
|
+
for <em class="parameter"><code>error</code></em>.
|
728
|
+
</p>
|
749
729
|
<div class="variablelist"><table border="0">
|
750
730
|
<col align="left" valign="top">
|
751
731
|
<tbody>
|
752
732
|
<tr>
|
753
733
|
<td><p><span class="term"><em class="parameter"><code>markup_text</code></em> :</span></p></td>
|
754
|
-
<td>
|
734
|
+
<td>markup to parse (see <a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>)
|
755
735
|
</td>
|
756
736
|
</tr>
|
757
737
|
<tr>
|
758
738
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
759
|
-
<td>
|
739
|
+
<td>length of <em class="parameter"><code>markup_text</code></em>, or -1 if nul-terminated
|
760
740
|
</td>
|
761
741
|
</tr>
|
762
742
|
<tr>
|
763
743
|
<td><p><span class="term"><em class="parameter"><code>accel_marker</code></em> :</span></p></td>
|
764
|
-
<td>
|
744
|
+
<td>character that precedes an accelerator, or 0 for none
|
765
745
|
</td>
|
766
746
|
</tr>
|
767
747
|
<tr>
|
768
748
|
<td><p><span class="term"><em class="parameter"><code>attr_list</code></em> :</span></p></td>
|
769
|
-
<td>
|
749
|
+
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
770
750
|
</td>
|
771
751
|
</tr>
|
772
752
|
<tr>
|
773
753
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
774
|
-
<td>
|
754
|
+
<td>address of return location for text with tags stripped, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
775
755
|
</td>
|
776
756
|
</tr>
|
777
757
|
<tr>
|
778
758
|
<td><p><span class="term"><em class="parameter"><code>accel_char</code></em> :</span></p></td>
|
779
|
-
<td>
|
759
|
+
<td>address of return location for accelerator char, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
780
760
|
</td>
|
781
761
|
</tr>
|
782
762
|
<tr>
|
783
763
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
784
|
-
<td>
|
764
|
+
<td>address of return location for errors, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
785
765
|
</td>
|
786
766
|
</tr>
|
787
767
|
<tr>
|
788
768
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
789
|
-
<td> <
|
769
|
+
<td> <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> is set, otherwise <code class="literal">TRUE</code>
|
790
770
|
</td>
|
791
771
|
</tr>
|
792
772
|
</tbody>
|
793
773
|
</table></div>
|
794
774
|
</div>
|
795
775
|
<hr>
|
796
|
-
<div class="refsect2"
|
776
|
+
<div class="refsect2">
|
797
777
|
<a name="pango-attr-type-register"></a><h3>pango_attr_type_register ()</h3>
|
798
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> pango_attr_type_register (
|
778
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> pango_attr_type_register (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
799
779
|
<p>
|
800
780
|
Allocate a new attribute type ID. The attribute type name can be accessed
|
801
|
-
later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()"><code class="function">pango_attr_type_get_name()</code></a
|
781
|
+
later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()"><code class="function">pango_attr_type_get_name()</code></a>.
|
782
|
+
</p>
|
802
783
|
<div class="variablelist"><table border="0">
|
803
784
|
<col align="left" valign="top">
|
804
785
|
<tbody>
|
805
786
|
<tr>
|
806
787
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
807
|
-
<td>
|
788
|
+
<td>an identifier for the type
|
808
789
|
</td>
|
809
790
|
</tr>
|
810
791
|
<tr>
|
@@ -816,27 +797,28 @@ later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-
|
|
816
797
|
</table></div>
|
817
798
|
</div>
|
818
799
|
<hr>
|
819
|
-
<div class="refsect2"
|
800
|
+
<div class="refsect2">
|
820
801
|
<a name="pango-attr-type-get-name"></a><h3>pango_attr_type_get_name ()</h3>
|
821
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_attr_type_get_name (<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="
|
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" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);</pre>
|
822
803
|
<p>
|
823
804
|
Fetches the attribute type name passed in when registering the type using
|
824
805
|
<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>.
|
825
806
|
</p>
|
826
807
|
<p>
|
827
|
-
The returned value is an interned string (see <
|
828
|
-
that means) that should not be modified or freed
|
808
|
+
The returned value is an interned string (see <code class="function">g_intern_string()</code> for what
|
809
|
+
that means) that should not be modified or freed.
|
810
|
+
</p>
|
829
811
|
<div class="variablelist"><table border="0">
|
830
812
|
<col align="left" valign="top">
|
831
813
|
<tbody>
|
832
814
|
<tr>
|
833
815
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
834
|
-
<td>
|
816
|
+
<td>an attribute type ID to fetch the name for
|
835
817
|
</td>
|
836
818
|
</tr>
|
837
819
|
<tr>
|
838
820
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
839
|
-
<td> the type ID name (which may be <a href="/usr/share/gtk-doc/html/
|
821
|
+
<td> the type ID name (which may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>), or <a href="/gnome/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
|
840
822
|
a built-in Pango attribute type or invalid.
|
841
823
|
|
842
824
|
</td>
|
@@ -846,27 +828,28 @@ a built-in Pango attribute type or invalid.
|
|
846
828
|
<p class="since">Since 1.22</p>
|
847
829
|
</div>
|
848
830
|
<hr>
|
849
|
-
<div class="refsect2"
|
831
|
+
<div class="refsect2">
|
850
832
|
<a name="pango-attribute-init"></a><h3>pango_attribute_init ()</h3>
|
851
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attribute_init (<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
852
|
-
const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="PangoAttrClass"><span class="
|
833
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attribute_init (<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>,
|
834
|
+
<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>);</pre>
|
853
835
|
<p>
|
854
836
|
Initializes <em class="parameter"><code>attr</code></em>'s klass to <em class="parameter"><code>klass</code></em>,
|
855
837
|
it's start_index to <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-INDEX-FROM-TEXT-BEGINNING:CAPS" title="PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING"><code class="literal">PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING</code></a>
|
856
838
|
and end_index to <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-INDEX-TO-TEXT-END:CAPS" title="PANGO_ATTR_INDEX_TO_TEXT_END"><code class="literal">PANGO_ATTR_INDEX_TO_TEXT_END</code></a>
|
857
839
|
such that the attribute applies
|
858
|
-
to the entire text by default
|
840
|
+
to the entire text by default.
|
841
|
+
</p>
|
859
842
|
<div class="variablelist"><table border="0">
|
860
843
|
<col align="left" valign="top">
|
861
844
|
<tbody>
|
862
845
|
<tr>
|
863
846
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
864
|
-
<td>
|
847
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
|
865
848
|
</td>
|
866
849
|
</tr>
|
867
850
|
<tr>
|
868
851
|
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
|
869
|
-
<td>
|
852
|
+
<td>a <span class="type">PangoAttributeClass</span>
|
870
853
|
</td>
|
871
854
|
</tr>
|
872
855
|
</tbody>
|
@@ -874,22 +857,23 @@ to the entire text by default.</p>
|
|
874
857
|
<p class="since">Since 1.20</p>
|
875
858
|
</div>
|
876
859
|
<hr>
|
877
|
-
<div class="refsect2"
|
860
|
+
<div class="refsect2">
|
878
861
|
<a name="pango-attribute-copy"></a><h3>pango_attribute_copy ()</h3>
|
879
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attribute_copy (const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
862
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attribute_copy (<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>);</pre>
|
880
863
|
<p>
|
881
|
-
Make a copy of an attribute
|
864
|
+
Make a copy of an attribute.
|
865
|
+
</p>
|
882
866
|
<div class="variablelist"><table border="0">
|
883
867
|
<col align="left" valign="top">
|
884
868
|
<tbody>
|
885
869
|
<tr>
|
886
870
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
887
|
-
<td>
|
871
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
|
888
872
|
</td>
|
889
873
|
</tr>
|
890
874
|
<tr>
|
891
875
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
892
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
876
|
+
<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
|
893
877
|
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>.
|
894
878
|
</td>
|
895
879
|
</tr>
|
@@ -897,67 +881,70 @@ Make a copy of an attribute.</p>
|
|
897
881
|
</table></div>
|
898
882
|
</div>
|
899
883
|
<hr>
|
900
|
-
<div class="refsect2"
|
884
|
+
<div class="refsect2">
|
901
885
|
<a name="pango-attribute-equal"></a><h3>pango_attribute_equal ()</h3>
|
902
|
-
<pre class="programlisting"><
|
903
|
-
const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
886
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_attribute_equal (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
|
887
|
+
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);</pre>
|
904
888
|
<p>
|
905
889
|
Compare two attributes for equality. This compares only the
|
906
890
|
actual value of the two attributes and not the ranges that the
|
907
|
-
attributes apply to
|
891
|
+
attributes apply to.
|
892
|
+
</p>
|
908
893
|
<div class="variablelist"><table border="0">
|
909
894
|
<col align="left" valign="top">
|
910
895
|
<tbody>
|
911
896
|
<tr>
|
912
897
|
<td><p><span class="term"><em class="parameter"><code>attr1</code></em> :</span></p></td>
|
913
|
-
<td>
|
898
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
|
914
899
|
</td>
|
915
900
|
</tr>
|
916
901
|
<tr>
|
917
902
|
<td><p><span class="term"><em class="parameter"><code>attr2</code></em> :</span></p></td>
|
918
|
-
<td>
|
903
|
+
<td>another <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
|
919
904
|
</td>
|
920
905
|
</tr>
|
921
906
|
<tr>
|
922
907
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
923
|
-
<td> <
|
908
|
+
<td> <code class="literal">TRUE</code> if the two attributes have the same value.
|
924
909
|
</td>
|
925
910
|
</tr>
|
926
911
|
</tbody>
|
927
912
|
</table></div>
|
928
913
|
</div>
|
929
914
|
<hr>
|
930
|
-
<div class="refsect2"
|
915
|
+
<div class="refsect2">
|
931
916
|
<a name="pango-attribute-destroy"></a><h3>pango_attribute_destroy ()</h3>
|
932
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attribute_destroy (<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
917
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attribute_destroy (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);</pre>
|
933
918
|
<p>
|
934
|
-
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a> and free all associated memory
|
919
|
+
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> and free all associated memory.
|
920
|
+
</p>
|
935
921
|
<div class="variablelist"><table border="0">
|
936
922
|
<col align="left" valign="top">
|
937
923
|
<tbody><tr>
|
938
924
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
939
|
-
<td>
|
925
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>.
|
940
926
|
</td>
|
941
927
|
</tr></tbody>
|
942
928
|
</table></div>
|
943
929
|
</div>
|
944
930
|
<hr>
|
945
|
-
<div class="refsect2"
|
931
|
+
<div class="refsect2">
|
946
932
|
<a name="pango-attr-language-new"></a><h3>pango_attr_language_new ()</h3>
|
947
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_language_new (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
933
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_language_new (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
948
934
|
<p>
|
949
|
-
Create a new language tag attribute
|
935
|
+
Create a new language tag attribute.
|
936
|
+
</p>
|
950
937
|
<div class="variablelist"><table border="0">
|
951
938
|
<col align="left" valign="top">
|
952
939
|
<tbody>
|
953
940
|
<tr>
|
954
941
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
955
|
-
<td>
|
942
|
+
<td>language tag
|
956
943
|
</td>
|
957
944
|
</tr>
|
958
945
|
<tr>
|
959
946
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
960
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
947
|
+
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
961
948
|
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>.
|
962
949
|
</td>
|
963
950
|
</tr>
|
@@ -965,22 +952,23 @@ Create a new language tag attribute.</p>
|
|
965
952
|
</table></div>
|
966
953
|
</div>
|
967
954
|
<hr>
|
968
|
-
<div class="refsect2"
|
955
|
+
<div class="refsect2">
|
969
956
|
<a name="pango-attr-family-new"></a><h3>pango_attr_family_new ()</h3>
|
970
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_family_new (const <span class="
|
957
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_family_new (<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);</pre>
|
971
958
|
<p>
|
972
|
-
Create a new font family attribute
|
959
|
+
Create a new font family attribute.
|
960
|
+
</p>
|
973
961
|
<div class="variablelist"><table border="0">
|
974
962
|
<col align="left" valign="top">
|
975
963
|
<tbody>
|
976
964
|
<tr>
|
977
965
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
978
|
-
<td>
|
966
|
+
<td>the family or comma separated list of families
|
979
967
|
</td>
|
980
968
|
</tr>
|
981
969
|
<tr>
|
982
970
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
983
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
971
|
+
<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
|
984
972
|
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>.
|
985
973
|
</td>
|
986
974
|
</tr>
|
@@ -988,22 +976,23 @@ Create a new font family attribute.</p>
|
|
988
976
|
</table></div>
|
989
977
|
</div>
|
990
978
|
<hr>
|
991
|
-
<div class="refsect2"
|
979
|
+
<div class="refsect2">
|
992
980
|
<a name="pango-attr-style-new"></a><h3>pango_attr_style_new ()</h3>
|
993
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_style_new (<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="
|
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" title="enum PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);</pre>
|
994
982
|
<p>
|
995
|
-
Create a new font slant style attribute
|
983
|
+
Create a new font slant style attribute.
|
984
|
+
</p>
|
996
985
|
<div class="variablelist"><table border="0">
|
997
986
|
<col align="left" valign="top">
|
998
987
|
<tbody>
|
999
988
|
<tr>
|
1000
989
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
1001
|
-
<td>
|
990
|
+
<td>the slant style
|
1002
991
|
</td>
|
1003
992
|
</tr>
|
1004
993
|
<tr>
|
1005
994
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1006
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
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
|
1007
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>.
|
1008
997
|
</td>
|
1009
998
|
</tr>
|
@@ -1011,22 +1000,23 @@ Create a new font slant style attribute.</p>
|
|
1011
1000
|
</table></div>
|
1012
1001
|
</div>
|
1013
1002
|
<hr>
|
1014
|
-
<div class="refsect2"
|
1003
|
+
<div class="refsect2">
|
1015
1004
|
<a name="pango-attr-variant-new"></a><h3>pango_attr_variant_new ()</h3>
|
1016
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_variant_new (<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="
|
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" title="enum PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);</pre>
|
1017
1006
|
<p>
|
1018
|
-
Create a new font variant attribute (normal or small caps)
|
1007
|
+
Create a new font variant attribute (normal or small caps)
|
1008
|
+
</p>
|
1019
1009
|
<div class="variablelist"><table border="0">
|
1020
1010
|
<col align="left" valign="top">
|
1021
1011
|
<tbody>
|
1022
1012
|
<tr>
|
1023
1013
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
1024
|
-
<td>
|
1014
|
+
<td>the variant
|
1025
1015
|
</td>
|
1026
1016
|
</tr>
|
1027
1017
|
<tr>
|
1028
1018
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1029
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1019
|
+
<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
|
1030
1020
|
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>.
|
1031
1021
|
</td>
|
1032
1022
|
</tr>
|
@@ -1034,22 +1024,23 @@ Create a new font variant attribute (normal or small caps)</p>
|
|
1034
1024
|
</table></div>
|
1035
1025
|
</div>
|
1036
1026
|
<hr>
|
1037
|
-
<div class="refsect2"
|
1027
|
+
<div class="refsect2">
|
1038
1028
|
<a name="pango-attr-stretch-new"></a><h3>pango_attr_stretch_new ()</h3>
|
1039
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_stretch_new (<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="
|
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" title="enum PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);</pre>
|
1040
1030
|
<p>
|
1041
|
-
Create a new font stretch attribute
|
1031
|
+
Create a new font stretch attribute
|
1032
|
+
</p>
|
1042
1033
|
<div class="variablelist"><table border="0">
|
1043
1034
|
<col align="left" valign="top">
|
1044
1035
|
<tbody>
|
1045
1036
|
<tr>
|
1046
1037
|
<td><p><span class="term"><em class="parameter"><code>stretch</code></em> :</span></p></td>
|
1047
|
-
<td>
|
1038
|
+
<td>the stretch
|
1048
1039
|
</td>
|
1049
1040
|
</tr>
|
1050
1041
|
<tr>
|
1051
1042
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1052
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1043
|
+
<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
|
1053
1044
|
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>.
|
1054
1045
|
</td>
|
1055
1046
|
</tr>
|
@@ -1057,22 +1048,23 @@ Create a new font stretch attribute</p>
|
|
1057
1048
|
</table></div>
|
1058
1049
|
</div>
|
1059
1050
|
<hr>
|
1060
|
-
<div class="refsect2"
|
1051
|
+
<div class="refsect2">
|
1061
1052
|
<a name="pango-attr-weight-new"></a><h3>pango_attr_weight_new ()</h3>
|
1062
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_weight_new (<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="
|
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" title="enum PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);</pre>
|
1063
1054
|
<p>
|
1064
|
-
Create a new font weight attribute
|
1055
|
+
Create a new font weight attribute.
|
1056
|
+
</p>
|
1065
1057
|
<div class="variablelist"><table border="0">
|
1066
1058
|
<col align="left" valign="top">
|
1067
1059
|
<tbody>
|
1068
1060
|
<tr>
|
1069
1061
|
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
1070
|
-
<td>
|
1062
|
+
<td>the weight
|
1071
1063
|
</td>
|
1072
1064
|
</tr>
|
1073
1065
|
<tr>
|
1074
1066
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1075
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1067
|
+
<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
|
1076
1068
|
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>.
|
1077
1069
|
</td>
|
1078
1070
|
</tr>
|
@@ -1080,22 +1072,23 @@ Create a new font weight attribute.</p>
|
|
1080
1072
|
</table></div>
|
1081
1073
|
</div>
|
1082
1074
|
<hr>
|
1083
|
-
<div class="refsect2"
|
1075
|
+
<div class="refsect2">
|
1084
1076
|
<a name="pango-attr-size-new"></a><h3>pango_attr_size_new ()</h3>
|
1085
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_size_new (<span class="
|
1077
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_size_new (<em class="parameter"><code><span class="type">int</span> size</code></em>);</pre>
|
1086
1078
|
<p>
|
1087
|
-
Create a new font-size attribute in fractional points
|
1079
|
+
Create a new font-size attribute in fractional points.
|
1080
|
+
</p>
|
1088
1081
|
<div class="variablelist"><table border="0">
|
1089
1082
|
<col align="left" valign="top">
|
1090
1083
|
<tbody>
|
1091
1084
|
<tr>
|
1092
1085
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1093
|
-
<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.
|
1094
1087
|
</td>
|
1095
1088
|
</tr>
|
1096
1089
|
<tr>
|
1097
1090
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1098
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1091
|
+
<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
|
1099
1092
|
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>.
|
1100
1093
|
</td>
|
1101
1094
|
</tr>
|
@@ -1103,22 +1096,23 @@ Create a new font-size attribute in fractional points.</p>
|
|
1103
1096
|
</table></div>
|
1104
1097
|
</div>
|
1105
1098
|
<hr>
|
1106
|
-
<div class="refsect2"
|
1099
|
+
<div class="refsect2">
|
1107
1100
|
<a name="pango-attr-size-new-absolute"></a><h3>pango_attr_size_new_absolute ()</h3>
|
1108
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_size_new_absolute (<span class="
|
1101
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_size_new_absolute (<em class="parameter"><code><span class="type">int</span> size</code></em>);</pre>
|
1109
1102
|
<p>
|
1110
|
-
Create a new font-size attribute in device units
|
1103
|
+
Create a new font-size attribute in device units.
|
1104
|
+
</p>
|
1111
1105
|
<div class="variablelist"><table border="0">
|
1112
1106
|
<col align="left" valign="top">
|
1113
1107
|
<tbody>
|
1114
1108
|
<tr>
|
1115
1109
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1116
|
-
<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.
|
1117
1111
|
</td>
|
1118
1112
|
</tr>
|
1119
1113
|
<tr>
|
1120
1114
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1121
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1115
|
+
<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
|
1122
1116
|
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>.
|
1123
1117
|
|
1124
1118
|
</td>
|
@@ -1128,24 +1122,25 @@ Create a new font-size attribute in device units.</p>
|
|
1128
1122
|
<p class="since">Since 1.8</p>
|
1129
1123
|
</div>
|
1130
1124
|
<hr>
|
1131
|
-
<div class="refsect2"
|
1125
|
+
<div class="refsect2">
|
1132
1126
|
<a name="pango-attr-font-desc-new"></a><h3>pango_attr_font_desc_new ()</h3>
|
1133
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_font_desc_new (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
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" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1134
1128
|
<p>
|
1135
1129
|
Create a new font description attribute. This attribute
|
1136
1130
|
allows setting family, style, weight, variant, stretch,
|
1137
|
-
and size simultaneously
|
1131
|
+
and size simultaneously.
|
1132
|
+
</p>
|
1138
1133
|
<div class="variablelist"><table border="0">
|
1139
1134
|
<col align="left" valign="top">
|
1140
1135
|
<tbody>
|
1141
1136
|
<tr>
|
1142
1137
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1143
|
-
<td>
|
1138
|
+
<td>the font description
|
1144
1139
|
</td>
|
1145
1140
|
</tr>
|
1146
1141
|
<tr>
|
1147
1142
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1148
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1143
|
+
<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
|
1149
1144
|
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>.
|
1150
1145
|
</td>
|
1151
1146
|
</tr>
|
@@ -1153,34 +1148,35 @@ and size simultaneously.</p>
|
|
1153
1148
|
</table></div>
|
1154
1149
|
</div>
|
1155
1150
|
<hr>
|
1156
|
-
<div class="refsect2"
|
1151
|
+
<div class="refsect2">
|
1157
1152
|
<a name="pango-attr-foreground-new"></a><h3>pango_attr_foreground_new ()</h3>
|
1158
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_foreground_new (<
|
1159
|
-
<
|
1160
|
-
<
|
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>
|
1161
1156
|
<p>
|
1162
|
-
Create a new foreground color attribute
|
1157
|
+
Create a new foreground color attribute.
|
1158
|
+
</p>
|
1163
1159
|
<div class="variablelist"><table border="0">
|
1164
1160
|
<col align="left" valign="top">
|
1165
1161
|
<tbody>
|
1166
1162
|
<tr>
|
1167
1163
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1168
|
-
<td>
|
1164
|
+
<td>the red value (ranging from 0 to 65535)
|
1169
1165
|
</td>
|
1170
1166
|
</tr>
|
1171
1167
|
<tr>
|
1172
1168
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1173
|
-
<td>
|
1169
|
+
<td>the green value
|
1174
1170
|
</td>
|
1175
1171
|
</tr>
|
1176
1172
|
<tr>
|
1177
1173
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1178
|
-
<td>
|
1174
|
+
<td>the blue value
|
1179
1175
|
</td>
|
1180
1176
|
</tr>
|
1181
1177
|
<tr>
|
1182
1178
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1183
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1179
|
+
<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
|
1184
1180
|
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>.
|
1185
1181
|
</td>
|
1186
1182
|
</tr>
|
@@ -1188,34 +1184,35 @@ Create a new foreground color attribute.</p>
|
|
1188
1184
|
</table></div>
|
1189
1185
|
</div>
|
1190
1186
|
<hr>
|
1191
|
-
<div class="refsect2"
|
1187
|
+
<div class="refsect2">
|
1192
1188
|
<a name="pango-attr-background-new"></a><h3>pango_attr_background_new ()</h3>
|
1193
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_background_new (<
|
1194
|
-
<
|
1195
|
-
<
|
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>
|
1196
1192
|
<p>
|
1197
|
-
Create a new background color attribute
|
1193
|
+
Create a new background color attribute.
|
1194
|
+
</p>
|
1198
1195
|
<div class="variablelist"><table border="0">
|
1199
1196
|
<col align="left" valign="top">
|
1200
1197
|
<tbody>
|
1201
1198
|
<tr>
|
1202
1199
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1203
|
-
<td>
|
1200
|
+
<td>the red value (ranging from 0 to 65535)
|
1204
1201
|
</td>
|
1205
1202
|
</tr>
|
1206
1203
|
<tr>
|
1207
1204
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1208
|
-
<td>
|
1205
|
+
<td>the green value
|
1209
1206
|
</td>
|
1210
1207
|
</tr>
|
1211
1208
|
<tr>
|
1212
1209
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1213
|
-
<td>
|
1210
|
+
<td>the blue value
|
1214
1211
|
</td>
|
1215
1212
|
</tr>
|
1216
1213
|
<tr>
|
1217
1214
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1218
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1215
|
+
<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
|
1219
1216
|
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>.
|
1220
1217
|
</td>
|
1221
1218
|
</tr>
|
@@ -1223,22 +1220,24 @@ Create a new background color attribute.</p>
|
|
1223
1220
|
</table></div>
|
1224
1221
|
</div>
|
1225
1222
|
<hr>
|
1226
|
-
<div class="refsect2"
|
1223
|
+
<div class="refsect2">
|
1227
1224
|
<a name="pango-attr-strikethrough-new"></a><h3>pango_attr_strikethrough_new ()</h3>
|
1228
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_new (<
|
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>
|
1229
1226
|
<p>
|
1230
|
-
Create a new strike-through attribute
|
1227
|
+
Create a new strike-through attribute.
|
1228
|
+
</p>
|
1231
1229
|
<div class="variablelist"><table border="0">
|
1232
1230
|
<col align="left" valign="top">
|
1233
1231
|
<tbody>
|
1234
1232
|
<tr>
|
1235
1233
|
<td><p><span class="term"><em class="parameter"><code>strikethrough</code></em> :</span></p></td>
|
1236
|
-
<td>
|
1234
|
+
<td>
|
1235
|
+
<code class="literal">TRUE</code> if the text should be struck-through.
|
1237
1236
|
</td>
|
1238
1237
|
</tr>
|
1239
1238
|
<tr>
|
1240
1239
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1241
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1240
|
+
<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
|
1242
1241
|
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>.
|
1243
1242
|
</td>
|
1244
1243
|
</tr>
|
@@ -1246,36 +1245,37 @@ Create a new strike-through attribute.</p>
|
|
1246
1245
|
</table></div>
|
1247
1246
|
</div>
|
1248
1247
|
<hr>
|
1249
|
-
<div class="refsect2"
|
1248
|
+
<div class="refsect2">
|
1250
1249
|
<a name="pango-attr-strikethrough-color-new"></a><h3>pango_attr_strikethrough_color_new ()</h3>
|
1251
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_color_new (<
|
1252
|
-
<
|
1253
|
-
<
|
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>
|
1254
1253
|
<p>
|
1255
1254
|
Create a new strikethrough color attribute. This attribute
|
1256
1255
|
modifies the color of strikethrough lines. If not set, strikethrough
|
1257
|
-
lines will use the foreground color
|
1256
|
+
lines will use the foreground color.
|
1257
|
+
</p>
|
1258
1258
|
<div class="variablelist"><table border="0">
|
1259
1259
|
<col align="left" valign="top">
|
1260
1260
|
<tbody>
|
1261
1261
|
<tr>
|
1262
1262
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1263
|
-
<td>
|
1263
|
+
<td>the red value (ranging from 0 to 65535)
|
1264
1264
|
</td>
|
1265
1265
|
</tr>
|
1266
1266
|
<tr>
|
1267
1267
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1268
|
-
<td>
|
1268
|
+
<td>the green value
|
1269
1269
|
</td>
|
1270
1270
|
</tr>
|
1271
1271
|
<tr>
|
1272
1272
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1273
|
-
<td>
|
1273
|
+
<td>the blue value
|
1274
1274
|
</td>
|
1275
1275
|
</tr>
|
1276
1276
|
<tr>
|
1277
1277
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1278
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1278
|
+
<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
|
1279
1279
|
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>.
|
1280
1280
|
|
1281
1281
|
</td>
|
@@ -1285,22 +1285,23 @@ lines will use the foreground color.</p>
|
|
1285
1285
|
<p class="since">Since 1.8</p>
|
1286
1286
|
</div>
|
1287
1287
|
<hr>
|
1288
|
-
<div class="refsect2"
|
1288
|
+
<div class="refsect2">
|
1289
1289
|
<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="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_underline_new (<a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline"><span class="
|
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" title="enum PangoUnderline"><span class="type">PangoUnderline</span></a> underline</code></em>);</pre>
|
1291
1291
|
<p>
|
1292
|
-
Create a new underline-style attribute
|
1292
|
+
Create a new underline-style attribute.
|
1293
|
+
</p>
|
1293
1294
|
<div class="variablelist"><table border="0">
|
1294
1295
|
<col align="left" valign="top">
|
1295
1296
|
<tbody>
|
1296
1297
|
<tr>
|
1297
1298
|
<td><p><span class="term"><em class="parameter"><code>underline</code></em> :</span></p></td>
|
1298
|
-
<td>
|
1299
|
+
<td>the underline style.
|
1299
1300
|
</td>
|
1300
1301
|
</tr>
|
1301
1302
|
<tr>
|
1302
1303
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1303
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1304
|
+
<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
|
1304
1305
|
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>.
|
1305
1306
|
</td>
|
1306
1307
|
</tr>
|
@@ -1308,36 +1309,37 @@ Create a new underline-style attribute.</p>
|
|
1308
1309
|
</table></div>
|
1309
1310
|
</div>
|
1310
1311
|
<hr>
|
1311
|
-
<div class="refsect2"
|
1312
|
+
<div class="refsect2">
|
1312
1313
|
<a name="pango-attr-underline-color-new"></a><h3>pango_attr_underline_color_new ()</h3>
|
1313
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_underline_color_new (<
|
1314
|
-
<
|
1315
|
-
<
|
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>
|
1316
1317
|
<p>
|
1317
1318
|
Create a new underline color attribute. This attribute
|
1318
1319
|
modifies the color of underlines. If not set, underlines
|
1319
|
-
will use the foreground color
|
1320
|
+
will use the foreground color.
|
1321
|
+
</p>
|
1320
1322
|
<div class="variablelist"><table border="0">
|
1321
1323
|
<col align="left" valign="top">
|
1322
1324
|
<tbody>
|
1323
1325
|
<tr>
|
1324
1326
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1325
|
-
<td>
|
1327
|
+
<td>the red value (ranging from 0 to 65535)
|
1326
1328
|
</td>
|
1327
1329
|
</tr>
|
1328
1330
|
<tr>
|
1329
1331
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1330
|
-
<td>
|
1332
|
+
<td>the green value
|
1331
1333
|
</td>
|
1332
1334
|
</tr>
|
1333
1335
|
<tr>
|
1334
1336
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1335
|
-
<td>
|
1337
|
+
<td>the blue value
|
1336
1338
|
</td>
|
1337
1339
|
</tr>
|
1338
1340
|
<tr>
|
1339
1341
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1340
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1342
|
+
<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
|
1341
1343
|
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>.
|
1342
1344
|
|
1343
1345
|
</td>
|
@@ -1347,7 +1349,7 @@ will use the foreground color.</p>
|
|
1347
1349
|
<p class="since">Since 1.8</p>
|
1348
1350
|
</div>
|
1349
1351
|
<hr>
|
1350
|
-
<div class="refsect2"
|
1352
|
+
<div class="refsect2">
|
1351
1353
|
<a name="PangoUnderline"></a><h3>enum PangoUnderline</h3>
|
1352
1354
|
<pre class="programlisting">typedef enum {
|
1353
1355
|
PANGO_UNDERLINE_NONE,
|
@@ -1404,40 +1406,41 @@ of underlining.
|
|
1404
1406
|
</table></div>
|
1405
1407
|
</div>
|
1406
1408
|
<hr>
|
1407
|
-
<div class="refsect2"
|
1409
|
+
<div class="refsect2">
|
1408
1410
|
<a name="PANGO-TYPE-UNDERLINE:CAPS"></a><h3>PANGO_TYPE_UNDERLINE</h3>
|
1409
1411
|
<pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
|
1410
1412
|
</pre>
|
1411
1413
|
<p>
|
1412
|
-
The <
|
1414
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline"><span class="type">PangoUnderline</span></a>.
|
1413
1415
|
</p>
|
1414
1416
|
</div>
|
1415
1417
|
<hr>
|
1416
|
-
<div class="refsect2"
|
1418
|
+
<div class="refsect2">
|
1417
1419
|
<a name="pango-attr-shape-new"></a><h3>pango_attr_shape_new ()</h3>
|
1418
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_shape_new (const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
1419
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
1420
|
+
<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 (<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>,
|
1421
|
+
<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>);</pre>
|
1420
1422
|
<p>
|
1421
1423
|
Create a new shape attribute. A shape is used to impose a
|
1422
1424
|
particular ink and logical rectangle on the result of shaping a
|
1423
1425
|
particular glyph. This might be used, for instance, for
|
1424
|
-
embedding a picture or a widget inside a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a
|
1426
|
+
embedding a picture or a widget inside a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
|
1427
|
+
</p>
|
1425
1428
|
<div class="variablelist"><table border="0">
|
1426
1429
|
<col align="left" valign="top">
|
1427
1430
|
<tbody>
|
1428
1431
|
<tr>
|
1429
1432
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1430
|
-
<td>
|
1433
|
+
<td>ink rectangle to assign to each character
|
1431
1434
|
</td>
|
1432
1435
|
</tr>
|
1433
1436
|
<tr>
|
1434
1437
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1435
|
-
<td>
|
1438
|
+
<td>logical rectangle to assign to each character
|
1436
1439
|
</td>
|
1437
1440
|
</tr>
|
1438
1441
|
<tr>
|
1439
1442
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1440
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1443
|
+
<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
|
1441
1444
|
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>.
|
1442
1445
|
</td>
|
1443
1446
|
</tr>
|
@@ -1445,51 +1448,52 @@ embedding a picture or a widget inside a <a class="link" href="pango-Layout-Obje
|
|
1445
1448
|
</table></div>
|
1446
1449
|
</div>
|
1447
1450
|
<hr>
|
1448
|
-
<div class="refsect2"
|
1451
|
+
<div class="refsect2">
|
1449
1452
|
<a name="pango-attr-shape-new-with-data"></a><h3>pango_attr_shape_new_with_data ()</h3>
|
1450
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_shape_new_with_data (const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
1451
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
1452
|
-
<
|
1453
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="
|
1454
|
-
<
|
1453
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_shape_new_with_data (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
1454
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
|
1455
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
1456
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
|
1457
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);</pre>
|
1455
1458
|
<p>
|
1456
1459
|
Like <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()"><code class="function">pango_attr_shape_new()</code></a>, but a user data pointer is also
|
1457
1460
|
provided; this pointer can be accessed when later
|
1458
|
-
rendering the glyph
|
1461
|
+
rendering the glyph.
|
1462
|
+
</p>
|
1459
1463
|
<div class="variablelist"><table border="0">
|
1460
1464
|
<col align="left" valign="top">
|
1461
1465
|
<tbody>
|
1462
1466
|
<tr>
|
1463
1467
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1464
|
-
<td>
|
1468
|
+
<td>ink rectangle to assign to each character
|
1465
1469
|
</td>
|
1466
1470
|
</tr>
|
1467
1471
|
<tr>
|
1468
1472
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1469
|
-
<td>
|
1473
|
+
<td>logical rectangle to assign to each character
|
1470
1474
|
</td>
|
1471
1475
|
</tr>
|
1472
1476
|
<tr>
|
1473
1477
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1474
|
-
<td>
|
1478
|
+
<td>user data pointer
|
1475
1479
|
</td>
|
1476
1480
|
</tr>
|
1477
1481
|
<tr>
|
1478
1482
|
<td><p><span class="term"><em class="parameter"><code>copy_func</code></em> :</span></p></td>
|
1479
|
-
<td>
|
1480
|
-
is copied. If <a href="/usr/share/gtk-doc/html/
|
1483
|
+
<td>function to copy <em class="parameter"><code>data</code></em> when the attribute
|
1484
|
+
is copied. If <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>data</code></em> is simply copied
|
1481
1485
|
as a pointer.
|
1482
1486
|
</td>
|
1483
1487
|
</tr>
|
1484
1488
|
<tr>
|
1485
1489
|
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
|
1486
|
-
<td>
|
1487
|
-
is freed, or <a href="/usr/share/gtk-doc/html/
|
1490
|
+
<td>function to free <em class="parameter"><code>data</code></em> when the attribute
|
1491
|
+
is freed, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1488
1492
|
</td>
|
1489
1493
|
</tr>
|
1490
1494
|
<tr>
|
1491
1495
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1492
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1496
|
+
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1493
1497
|
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>.
|
1494
1498
|
|
1495
1499
|
</td>
|
@@ -1499,9 +1503,9 @@ rendering the glyph.</p>
|
|
1499
1503
|
<p class="since">Since 1.8</p>
|
1500
1504
|
</div>
|
1501
1505
|
<hr>
|
1502
|
-
<div class="refsect2"
|
1506
|
+
<div class="refsect2">
|
1503
1507
|
<a name="PangoAttrDataCopyFunc"></a><h3>PangoAttrDataCopyFunc ()</h3>
|
1504
|
-
<pre class="programlisting"><
|
1508
|
+
<pre class="programlisting"><span class="returnvalue">gpointer</span> (*PangoAttrDataCopyFunc) (<em class="parameter"><code><span class="type">gconstpointer</span> data</code></em>);</pre>
|
1505
1509
|
<p>
|
1506
1510
|
A copy function passed to attribute new functions that take
|
1507
1511
|
user data.
|
@@ -1523,23 +1527,24 @@ user data.
|
|
1523
1527
|
</table></div>
|
1524
1528
|
</div>
|
1525
1529
|
<hr>
|
1526
|
-
<div class="refsect2"
|
1530
|
+
<div class="refsect2">
|
1527
1531
|
<a name="pango-attr-scale-new"></a><h3>pango_attr_scale_new ()</h3>
|
1528
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_scale_new (<span class="
|
1532
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_scale_new (<em class="parameter"><code><span class="type">double</span> scale_factor</code></em>);</pre>
|
1529
1533
|
<p>
|
1530
1534
|
Create a new font size scale attribute. The base font for the
|
1531
|
-
affected text will have its size multiplied by <em class="parameter"><code>scale_factor</code></em
|
1535
|
+
affected text will have its size multiplied by <em class="parameter"><code>scale_factor</code></em>.
|
1536
|
+
</p>
|
1532
1537
|
<div class="variablelist"><table border="0">
|
1533
1538
|
<col align="left" valign="top">
|
1534
1539
|
<tbody>
|
1535
1540
|
<tr>
|
1536
1541
|
<td><p><span class="term"><em class="parameter"><code>scale_factor</code></em> :</span></p></td>
|
1537
|
-
<td>
|
1542
|
+
<td>factor to scale the font
|
1538
1543
|
</td>
|
1539
1544
|
</tr>
|
1540
1545
|
<tr>
|
1541
1546
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1542
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1547
|
+
<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
|
1543
1548
|
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>.
|
1544
1549
|
</td>
|
1545
1550
|
</tr>
|
@@ -1547,7 +1552,7 @@ affected text will have its size multiplied by <em class="parameter"><code>scale
|
|
1547
1552
|
</table></div>
|
1548
1553
|
</div>
|
1549
1554
|
<hr>
|
1550
|
-
<div class="refsect2"
|
1555
|
+
<div class="refsect2">
|
1551
1556
|
<a name="PANGO-SCALE-XX-SMALL:CAPS"></a><h3>PANGO_SCALE_XX_SMALL</h3>
|
1552
1557
|
<pre class="programlisting">#define PANGO_SCALE_XX_SMALL ((double)0.5787037037037)
|
1553
1558
|
</pre>
|
@@ -1556,7 +1561,7 @@ The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).
|
|
1556
1561
|
</p>
|
1557
1562
|
</div>
|
1558
1563
|
<hr>
|
1559
|
-
<div class="refsect2"
|
1564
|
+
<div class="refsect2">
|
1560
1565
|
<a name="PANGO-SCALE-X-SMALL:CAPS"></a><h3>PANGO_SCALE_X_SMALL</h3>
|
1561
1566
|
<pre class="programlisting">#define PANGO_SCALE_X_SMALL ((double)0.6444444444444)
|
1562
1567
|
</pre>
|
@@ -1565,7 +1570,7 @@ The scale factor for two shrinking steps (1 / (1.2 * 1.2)).
|
|
1565
1570
|
</p>
|
1566
1571
|
</div>
|
1567
1572
|
<hr>
|
1568
|
-
<div class="refsect2"
|
1573
|
+
<div class="refsect2">
|
1569
1574
|
<a name="PANGO-SCALE-SMALL:CAPS"></a><h3>PANGO_SCALE_SMALL</h3>
|
1570
1575
|
<pre class="programlisting">#define PANGO_SCALE_SMALL ((double)0.8333333333333)
|
1571
1576
|
</pre>
|
@@ -1574,7 +1579,7 @@ The scale factor for one shrinking step (1 / 1.2).
|
|
1574
1579
|
</p>
|
1575
1580
|
</div>
|
1576
1581
|
<hr>
|
1577
|
-
<div class="refsect2"
|
1582
|
+
<div class="refsect2">
|
1578
1583
|
<a name="PANGO-SCALE-MEDIUM:CAPS"></a><h3>PANGO_SCALE_MEDIUM</h3>
|
1579
1584
|
<pre class="programlisting">#define PANGO_SCALE_MEDIUM ((double)1.0)
|
1580
1585
|
</pre>
|
@@ -1583,7 +1588,7 @@ The scale factor for normal size (1.0).
|
|
1583
1588
|
</p>
|
1584
1589
|
</div>
|
1585
1590
|
<hr>
|
1586
|
-
<div class="refsect2"
|
1591
|
+
<div class="refsect2">
|
1587
1592
|
<a name="PANGO-SCALE-LARGE:CAPS"></a><h3>PANGO_SCALE_LARGE</h3>
|
1588
1593
|
<pre class="programlisting">#define PANGO_SCALE_LARGE ((double)1.2)
|
1589
1594
|
</pre>
|
@@ -1592,7 +1597,7 @@ The scale factor for one magnification step (1.2).
|
|
1592
1597
|
</p>
|
1593
1598
|
</div>
|
1594
1599
|
<hr>
|
1595
|
-
<div class="refsect2"
|
1600
|
+
<div class="refsect2">
|
1596
1601
|
<a name="PANGO-SCALE-X-LARGE:CAPS"></a><h3>PANGO_SCALE_X_LARGE</h3>
|
1597
1602
|
<pre class="programlisting">#define PANGO_SCALE_X_LARGE ((double)1.4399999999999)
|
1598
1603
|
</pre>
|
@@ -1601,7 +1606,7 @@ The scale factor for two magnification steps (1.2 * 1.2).
|
|
1601
1606
|
</p>
|
1602
1607
|
</div>
|
1603
1608
|
<hr>
|
1604
|
-
<div class="refsect2"
|
1609
|
+
<div class="refsect2">
|
1605
1610
|
<a name="PANGO-SCALE-XX-LARGE:CAPS"></a><h3>PANGO_SCALE_XX_LARGE</h3>
|
1606
1611
|
<pre class="programlisting">#define PANGO_SCALE_XX_LARGE ((double)1.728)
|
1607
1612
|
</pre>
|
@@ -1610,23 +1615,24 @@ The scale factor for three magnification steps (1.2 * 1.2 * 1.2).
|
|
1610
1615
|
</p>
|
1611
1616
|
</div>
|
1612
1617
|
<hr>
|
1613
|
-
<div class="refsect2"
|
1618
|
+
<div class="refsect2">
|
1614
1619
|
<a name="pango-attr-rise-new"></a><h3>pango_attr_rise_new ()</h3>
|
1615
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_rise_new (<span class="
|
1620
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_rise_new (<em class="parameter"><code><span class="type">int</span> rise</code></em>);</pre>
|
1616
1621
|
<p>
|
1617
|
-
Create a new baseline displacement attribute
|
1622
|
+
Create a new baseline displacement attribute.
|
1623
|
+
</p>
|
1618
1624
|
<div class="variablelist"><table border="0">
|
1619
1625
|
<col align="left" valign="top">
|
1620
1626
|
<tbody>
|
1621
1627
|
<tr>
|
1622
1628
|
<td><p><span class="term"><em class="parameter"><code>rise</code></em> :</span></p></td>
|
1623
|
-
<td>
|
1629
|
+
<td>the amount that the text should be displaced vertically,
|
1624
1630
|
in Pango units. Positive values displace the text upwards.
|
1625
1631
|
</td>
|
1626
1632
|
</tr>
|
1627
1633
|
<tr>
|
1628
1634
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1629
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1635
|
+
<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
|
1630
1636
|
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>.
|
1631
1637
|
</td>
|
1632
1638
|
</tr>
|
@@ -1634,23 +1640,24 @@ Create a new baseline displacement attribute.</p>
|
|
1634
1640
|
</table></div>
|
1635
1641
|
</div>
|
1636
1642
|
<hr>
|
1637
|
-
<div class="refsect2"
|
1643
|
+
<div class="refsect2">
|
1638
1644
|
<a name="pango-attr-letter-spacing-new"></a><h3>pango_attr_letter_spacing_new ()</h3>
|
1639
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_letter_spacing_new (<span class="
|
1645
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_letter_spacing_new (<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);</pre>
|
1640
1646
|
<p>
|
1641
|
-
Create a new letter-spacing attribute
|
1647
|
+
Create a new letter-spacing attribute.
|
1648
|
+
</p>
|
1642
1649
|
<div class="variablelist"><table border="0">
|
1643
1650
|
<col align="left" valign="top">
|
1644
1651
|
<tbody>
|
1645
1652
|
<tr>
|
1646
1653
|
<td><p><span class="term"><em class="parameter"><code>letter_spacing</code></em> :</span></p></td>
|
1647
|
-
<td>
|
1654
|
+
<td>amount of extra space to add between graphemes
|
1648
1655
|
of the text, in Pango units.
|
1649
1656
|
</td>
|
1650
1657
|
</tr>
|
1651
1658
|
<tr>
|
1652
1659
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1653
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1660
|
+
<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
|
1654
1661
|
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>.
|
1655
1662
|
|
1656
1663
|
</td>
|
@@ -1660,9 +1667,9 @@ Create a new letter-spacing attribute.</p>
|
|
1660
1667
|
<p class="since">Since 1.6</p>
|
1661
1668
|
</div>
|
1662
1669
|
<hr>
|
1663
|
-
<div class="refsect2"
|
1670
|
+
<div class="refsect2">
|
1664
1671
|
<a name="pango-attr-fallback-new"></a><h3>pango_attr_fallback_new ()</h3>
|
1665
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_fallback_new (<
|
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>
|
1666
1673
|
<p>
|
1667
1674
|
Create a new font fallback attribute.
|
1668
1675
|
</p>
|
@@ -1670,19 +1677,21 @@ Create a new font fallback attribute.
|
|
1670
1677
|
If fallback is disabled, characters will only be used from the
|
1671
1678
|
closest matching font on the system. No fallback will be done to
|
1672
1679
|
other fonts on the system that might contain the characters in the
|
1673
|
-
text
|
1680
|
+
text.
|
1681
|
+
</p>
|
1674
1682
|
<div class="variablelist"><table border="0">
|
1675
1683
|
<col align="left" valign="top">
|
1676
1684
|
<tbody>
|
1677
1685
|
<tr>
|
1678
1686
|
<td><p><span class="term"><em class="parameter"><code>enable_fallback</code></em> :</span></p></td>
|
1679
|
-
<td>
|
1687
|
+
<td>
|
1688
|
+
<code class="literal">TRUE</code> if we should fall back on other fonts
|
1680
1689
|
for characters the active font is missing.
|
1681
1690
|
</td>
|
1682
1691
|
</tr>
|
1683
1692
|
<tr>
|
1684
1693
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1685
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1694
|
+
<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
|
1686
1695
|
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>.
|
1687
1696
|
|
1688
1697
|
</td>
|
@@ -1692,22 +1701,23 @@ text.</p>
|
|
1692
1701
|
<p class="since">Since 1.4</p>
|
1693
1702
|
</div>
|
1694
1703
|
<hr>
|
1695
|
-
<div class="refsect2"
|
1704
|
+
<div class="refsect2">
|
1696
1705
|
<a name="pango-attr-gravity-new"></a><h3>pango_attr_gravity_new ()</h3>
|
1697
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_gravity_new (<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
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" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
1698
1707
|
<p>
|
1699
|
-
Create a new gravity attribute
|
1708
|
+
Create a new gravity attribute.
|
1709
|
+
</p>
|
1700
1710
|
<div class="variablelist"><table border="0">
|
1701
1711
|
<col align="left" valign="top">
|
1702
1712
|
<tbody>
|
1703
1713
|
<tr>
|
1704
1714
|
<td><p><span class="term"><em class="parameter"><code>gravity</code></em> :</span></p></td>
|
1705
|
-
<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>.
|
1706
1716
|
</td>
|
1707
1717
|
</tr>
|
1708
1718
|
<tr>
|
1709
1719
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1710
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1720
|
+
<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
|
1711
1721
|
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>.
|
1712
1722
|
|
1713
1723
|
</td>
|
@@ -1717,22 +1727,23 @@ Create a new gravity attribute.</p>
|
|
1717
1727
|
<p class="since">Since 1.16</p>
|
1718
1728
|
</div>
|
1719
1729
|
<hr>
|
1720
|
-
<div class="refsect2"
|
1730
|
+
<div class="refsect2">
|
1721
1731
|
<a name="pango-attr-gravity-hint-new"></a><h3>pango_attr_gravity_hint_new ()</h3>
|
1722
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_gravity_hint_new (<a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="
|
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" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
|
1723
1733
|
<p>
|
1724
|
-
Create a new gravity hint attribute
|
1734
|
+
Create a new gravity hint attribute.
|
1735
|
+
</p>
|
1725
1736
|
<div class="variablelist"><table border="0">
|
1726
1737
|
<col align="left" valign="top">
|
1727
1738
|
<tbody>
|
1728
1739
|
<tr>
|
1729
1740
|
<td><p><span class="term"><em class="parameter"><code>hint</code></em> :</span></p></td>
|
1730
|
-
<td>
|
1741
|
+
<td>the gravity hint value.
|
1731
1742
|
</td>
|
1732
1743
|
</tr>
|
1733
1744
|
<tr>
|
1734
1745
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1735
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1746
|
+
<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
|
1736
1747
|
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>.
|
1737
1748
|
|
1738
1749
|
</td>
|
@@ -1742,35 +1753,35 @@ Create a new gravity hint attribute.</p>
|
|
1742
1753
|
<p class="since">Since 1.16</p>
|
1743
1754
|
</div>
|
1744
1755
|
<hr>
|
1745
|
-
<div class="refsect2"
|
1746
|
-
<a name="PangoColor"></a><h3>PangoColor</h3>
|
1747
|
-
<pre class="programlisting">
|
1756
|
+
<div class="refsect2">
|
1757
|
+
<a name="PangoColor"></a><h3>struct PangoColor</h3>
|
1758
|
+
<pre class="programlisting">struct PangoColor {
|
1748
1759
|
guint16 red;
|
1749
1760
|
guint16 green;
|
1750
1761
|
guint16 blue;
|
1751
|
-
}
|
1762
|
+
};
|
1752
1763
|
</pre>
|
1753
1764
|
<p>
|
1754
|
-
The <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a> structure is used to
|
1765
|
+
The <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> structure is used to
|
1755
1766
|
represent a color in an uncalibrated RGB color-space.
|
1756
1767
|
</p>
|
1757
1768
|
<div class="variablelist"><table border="0">
|
1758
1769
|
<col align="left" valign="top">
|
1759
1770
|
<tbody>
|
1760
1771
|
<tr>
|
1761
|
-
<td><p><span class="term"><
|
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>
|
1762
1773
|
<td>The red component of the color. This is a value between 0 and 65535,
|
1763
1774
|
with 65535 indicating full intensity.
|
1764
1775
|
</td>
|
1765
1776
|
</tr>
|
1766
1777
|
<tr>
|
1767
|
-
<td><p><span class="term"><
|
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>
|
1768
1779
|
<td>The green component of the color. This is a value between 0 and 65535,
|
1769
1780
|
with 65535 indicating full intensity.
|
1770
1781
|
</td>
|
1771
1782
|
</tr>
|
1772
1783
|
<tr>
|
1773
|
-
<td><p><span class="term"><
|
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>
|
1774
1785
|
<td>The blue component of the color. This is a value between 0 and 65535,
|
1775
1786
|
with 65535 indicating full intensity.
|
1776
1787
|
</td>
|
@@ -1779,19 +1790,19 @@ represent a color in an uncalibrated RGB color-space.
|
|
1779
1790
|
</table></div>
|
1780
1791
|
</div>
|
1781
1792
|
<hr>
|
1782
|
-
<div class="refsect2"
|
1793
|
+
<div class="refsect2">
|
1783
1794
|
<a name="PANGO-TYPE-COLOR:CAPS"></a><h3>PANGO_TYPE_COLOR</h3>
|
1784
1795
|
<pre class="programlisting">#define PANGO_TYPE_COLOR pango_color_get_type ()
|
1785
1796
|
</pre>
|
1786
1797
|
<p>
|
1787
|
-
The <
|
1798
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a>.
|
1788
1799
|
</p>
|
1789
1800
|
</div>
|
1790
1801
|
<hr>
|
1791
|
-
<div class="refsect2"
|
1802
|
+
<div class="refsect2">
|
1792
1803
|
<a name="pango-color-parse"></a><h3>pango_color_parse ()</h3>
|
1793
|
-
<pre class="programlisting"><
|
1794
|
-
const <span class="
|
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" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
1805
|
+
<em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);</pre>
|
1795
1806
|
<p>
|
1796
1807
|
Fill in the fields of a color from a string specification. The
|
1797
1808
|
string can either one of a large set of standard names. (Taken
|
@@ -1799,23 +1810,24 @@ from the X11 <code class="filename">rgb.txt</code> file), or it can be a hex val
|
|
1799
1810
|
form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where
|
1800
1811
|
'r', 'g' and 'b' are hex digits of the red, green, and blue
|
1801
1812
|
components of the color, respectively. (White in the four
|
1802
|
-
forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')
|
1813
|
+
forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')
|
1814
|
+
</p>
|
1803
1815
|
<div class="variablelist"><table border="0">
|
1804
1816
|
<col align="left" valign="top">
|
1805
1817
|
<tbody>
|
1806
1818
|
<tr>
|
1807
1819
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1808
|
-
<td>
|
1820
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> structure in which to store the result, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1809
1821
|
</td>
|
1810
1822
|
</tr>
|
1811
1823
|
<tr>
|
1812
1824
|
<td><p><span class="term"><em class="parameter"><code>spec</code></em> :</span></p></td>
|
1813
|
-
<td>
|
1825
|
+
<td>a string specifying the new color
|
1814
1826
|
</td>
|
1815
1827
|
</tr>
|
1816
1828
|
<tr>
|
1817
1829
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1818
|
-
<td> <
|
1830
|
+
<td> <code class="literal">TRUE</code> if parsing of the specifier succeeded,
|
1819
1831
|
otherwise false.
|
1820
1832
|
</td>
|
1821
1833
|
</tr>
|
@@ -1823,67 +1835,70 @@ forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')</p>
|
|
1823
1835
|
</table></div>
|
1824
1836
|
</div>
|
1825
1837
|
<hr>
|
1826
|
-
<div class="refsect2"
|
1838
|
+
<div class="refsect2">
|
1827
1839
|
<a name="pango-color-copy"></a><h3>pango_color_copy ()</h3>
|
1828
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="returnvalue">PangoColor</span></a> * pango_color_copy (const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="
|
1840
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="returnvalue">PangoColor</span></a> * pango_color_copy (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *src</code></em>);</pre>
|
1829
1841
|
<p>
|
1830
1842
|
Creates a copy of <em class="parameter"><code>src</code></em>, which should be freed with
|
1831
1843
|
<a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>. Primarily used by language bindings,
|
1832
1844
|
not that useful otherwise (since colors can just be copied
|
1833
|
-
by assignment in C)
|
1845
|
+
by assignment in C).
|
1846
|
+
</p>
|
1834
1847
|
<div class="variablelist"><table border="0">
|
1835
1848
|
<col align="left" valign="top">
|
1836
1849
|
<tbody>
|
1837
1850
|
<tr>
|
1838
1851
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
1839
|
-
<td>
|
1852
|
+
<td>color to copy, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1840
1853
|
</td>
|
1841
1854
|
</tr>
|
1842
1855
|
<tr>
|
1843
1856
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1844
|
-
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a>, which should
|
1845
|
-
be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="/usr/share/gtk-doc/html/
|
1846
|
-
if <em class="parameter"><code>src</code></em> was <a href="/usr/share/gtk-doc/html/
|
1857
|
+
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a>, which should
|
1858
|
+
be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1859
|
+
if <em class="parameter"><code>src</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
1847
1860
|
</td>
|
1848
1861
|
</tr>
|
1849
1862
|
</tbody>
|
1850
1863
|
</table></div>
|
1851
1864
|
</div>
|
1852
1865
|
<hr>
|
1853
|
-
<div class="refsect2"
|
1866
|
+
<div class="refsect2">
|
1854
1867
|
<a name="pango-color-free"></a><h3>pango_color_free ()</h3>
|
1855
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_color_free (<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="
|
1868
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_color_free (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
1856
1869
|
<p>
|
1857
|
-
Frees a color allocated by <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()"><code class="function">pango_color_copy()</code></a
|
1870
|
+
Frees a color allocated by <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()"><code class="function">pango_color_copy()</code></a>.
|
1871
|
+
</p>
|
1858
1872
|
<div class="variablelist"><table border="0">
|
1859
1873
|
<col align="left" valign="top">
|
1860
1874
|
<tbody><tr>
|
1861
1875
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1862
|
-
<td>
|
1876
|
+
<td>an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1863
1877
|
</td>
|
1864
1878
|
</tr></tbody>
|
1865
1879
|
</table></div>
|
1866
1880
|
</div>
|
1867
1881
|
<hr>
|
1868
|
-
<div class="refsect2"
|
1882
|
+
<div class="refsect2">
|
1869
1883
|
<a name="pango-color-to-string"></a><h3>pango_color_to_string ()</h3>
|
1870
|
-
<pre class="programlisting"><
|
1884
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * pango_color_to_string (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
1871
1885
|
<p>
|
1872
1886
|
Returns a textual specification of <em class="parameter"><code>color</code></em> in the hexadecimal form
|
1873
1887
|
<code class="literal">#rrrrggggbbbb</code>, where <code class="literal">r</code>,
|
1874
1888
|
<code class="literal">g</code> and <code class="literal">b</code> are hex digits representing
|
1875
|
-
the red, green, and blue components respectively
|
1889
|
+
the red, green, and blue components respectively.
|
1890
|
+
</p>
|
1876
1891
|
<div class="variablelist"><table border="0">
|
1877
1892
|
<col align="left" valign="top">
|
1878
1893
|
<tbody>
|
1879
1894
|
<tr>
|
1880
1895
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1881
|
-
<td>
|
1896
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a>
|
1882
1897
|
</td>
|
1883
1898
|
</tr>
|
1884
1899
|
<tr>
|
1885
1900
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1886
|
-
<td> a newly-allocated text string that must be freed with <
|
1901
|
+
<td> a newly-allocated text string that must be freed with <code class="function">g_free()</code>.
|
1887
1902
|
|
1888
1903
|
</td>
|
1889
1904
|
</tr>
|
@@ -1892,7 +1907,7 @@ the red, green, and blue components respectively.</p>
|
|
1892
1907
|
<p class="since">Since 1.16</p>
|
1893
1908
|
</div>
|
1894
1909
|
<hr>
|
1895
|
-
<div class="refsect2"
|
1910
|
+
<div class="refsect2">
|
1896
1911
|
<a name="PangoAttrList"></a><h3>PangoAttrList</h3>
|
1897
1912
|
<pre class="programlisting">typedef struct _PangoAttrList PangoAttrList;</pre>
|
1898
1913
|
<p>
|
@@ -1910,20 +1925,21 @@ for more than one paragraph of text.
|
|
1910
1925
|
</p>
|
1911
1926
|
</div>
|
1912
1927
|
<hr>
|
1913
|
-
<div class="refsect2"
|
1928
|
+
<div class="refsect2">
|
1914
1929
|
<a name="PANGO-TYPE-ATTR-LIST:CAPS"></a><h3>PANGO_TYPE_ATTR_LIST</h3>
|
1915
1930
|
<pre class="programlisting">#define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
|
1916
1931
|
</pre>
|
1917
1932
|
<p>
|
1918
|
-
The <
|
1933
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>.
|
1919
1934
|
</p>
|
1920
1935
|
</div>
|
1921
1936
|
<hr>
|
1922
|
-
<div class="refsect2"
|
1937
|
+
<div class="refsect2">
|
1923
1938
|
<a name="pango-attr-list-new"></a><h3>pango_attr_list_new ()</h3>
|
1924
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_new (void);</pre>
|
1939
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1925
1940
|
<p>
|
1926
|
-
Create a new empty attribute list with a reference count of one
|
1941
|
+
Create a new empty attribute list with a reference count of one.
|
1942
|
+
</p>
|
1927
1943
|
<div class="variablelist"><table border="0">
|
1928
1944
|
<col align="left" valign="top">
|
1929
1945
|
<tbody><tr>
|
@@ -1935,17 +1951,18 @@ Create a new empty attribute list with a reference count of one.</p>
|
|
1935
1951
|
</table></div>
|
1936
1952
|
</div>
|
1937
1953
|
<hr>
|
1938
|
-
<div class="refsect2"
|
1954
|
+
<div class="refsect2">
|
1939
1955
|
<a name="pango-attr-list-ref"></a><h3>pango_attr_list_ref ()</h3>
|
1940
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_ref (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
1956
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_ref (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
1941
1957
|
<p>
|
1942
|
-
Increase the reference count of the given attribute list by one
|
1958
|
+
Increase the reference count of the given attribute list by one.
|
1959
|
+
</p>
|
1943
1960
|
<div class="variablelist"><table border="0">
|
1944
1961
|
<col align="left" valign="top">
|
1945
1962
|
<tbody>
|
1946
1963
|
<tr>
|
1947
1964
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1948
|
-
<td>
|
1965
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1949
1966
|
</td>
|
1950
1967
|
</tr>
|
1951
1968
|
<tr>
|
@@ -1959,34 +1976,36 @@ Increase the reference count of the given attribute list by one.</p>
|
|
1959
1976
|
<p class="since">Since 1.10</p>
|
1960
1977
|
</div>
|
1961
1978
|
<hr>
|
1962
|
-
<div class="refsect2"
|
1979
|
+
<div class="refsect2">
|
1963
1980
|
<a name="pango-attr-list-unref"></a><h3>pango_attr_list_unref ()</h3>
|
1964
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_unref (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
1965
1982
|
<p>
|
1966
1983
|
Decrease the reference count of the given attribute list by one.
|
1967
1984
|
If the result is zero, free the attribute list and the attributes
|
1968
|
-
it contains
|
1985
|
+
it contains.
|
1986
|
+
</p>
|
1969
1987
|
<div class="variablelist"><table border="0">
|
1970
1988
|
<col align="left" valign="top">
|
1971
1989
|
<tbody><tr>
|
1972
1990
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1973
|
-
<td>
|
1991
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1974
1992
|
</td>
|
1975
1993
|
</tr></tbody>
|
1976
1994
|
</table></div>
|
1977
1995
|
</div>
|
1978
1996
|
<hr>
|
1979
|
-
<div class="refsect2"
|
1997
|
+
<div class="refsect2">
|
1980
1998
|
<a name="pango-attr-list-copy"></a><h3>pango_attr_list_copy ()</h3>
|
1981
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_copy (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
1999
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_copy (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
1982
2000
|
<p>
|
1983
|
-
Copy <em class="parameter"><code>list</code></em> and return an identical new list
|
2001
|
+
Copy <em class="parameter"><code>list</code></em> and return an identical new list.
|
2002
|
+
</p>
|
1984
2003
|
<div class="variablelist"><table border="0">
|
1985
2004
|
<col align="left" valign="top">
|
1986
2005
|
<tbody>
|
1987
2006
|
<tr>
|
1988
2007
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1989
|
-
<td>
|
2008
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1990
2009
|
</td>
|
1991
2010
|
</tr>
|
1992
2011
|
<tr>
|
@@ -1994,32 +2013,33 @@ Copy <em class="parameter"><code>list</code></em> and return an identical new li
|
|
1994
2013
|
<td> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>, with a
|
1995
2014
|
reference count of one, which should
|
1996
2015
|
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>.
|
1997
|
-
Returns <a href="/usr/share/gtk-doc/html/
|
2016
|
+
Returns <a href="/gnome/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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
1998
2017
|
</td>
|
1999
2018
|
</tr>
|
2000
2019
|
</tbody>
|
2001
2020
|
</table></div>
|
2002
2021
|
</div>
|
2003
2022
|
<hr>
|
2004
|
-
<div class="refsect2"
|
2023
|
+
<div class="refsect2">
|
2005
2024
|
<a name="pango-attr-list-insert"></a><h3>pango_attr_list_insert ()</h3>
|
2006
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_insert (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
2007
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2026
|
+
<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>
|
2008
2027
|
<p>
|
2009
2028
|
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
|
2010
2029
|
be inserted after all other attributes with a matching
|
2011
|
-
<em class="parameter"><code>start_index</code></em
|
2030
|
+
<em class="parameter"><code>start_index</code></em>.
|
2031
|
+
</p>
|
2012
2032
|
<div class="variablelist"><table border="0">
|
2013
2033
|
<col align="left" valign="top">
|
2014
2034
|
<tbody>
|
2015
2035
|
<tr>
|
2016
2036
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2017
|
-
<td>
|
2037
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2018
2038
|
</td>
|
2019
2039
|
</tr>
|
2020
2040
|
<tr>
|
2021
2041
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
2022
|
-
<td>
|
2042
|
+
<td>the attribute to insert. Ownership of this value is
|
2023
2043
|
assumed by the list.
|
2024
2044
|
</td>
|
2025
2045
|
</tr>
|
@@ -2027,25 +2047,26 @@ be inserted after all other attributes with a matching
|
|
2027
2047
|
</table></div>
|
2028
2048
|
</div>
|
2029
2049
|
<hr>
|
2030
|
-
<div class="refsect2"
|
2050
|
+
<div class="refsect2">
|
2031
2051
|
<a name="pango-attr-list-insert-before"></a><h3>pango_attr_list_insert_before ()</h3>
|
2032
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_insert_before (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
2033
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2053
|
+
<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>
|
2034
2054
|
<p>
|
2035
2055
|
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
|
2036
2056
|
be inserted before all other attributes with a matching
|
2037
|
-
<em class="parameter"><code>start_index</code></em
|
2057
|
+
<em class="parameter"><code>start_index</code></em>.
|
2058
|
+
</p>
|
2038
2059
|
<div class="variablelist"><table border="0">
|
2039
2060
|
<col align="left" valign="top">
|
2040
2061
|
<tbody>
|
2041
2062
|
<tr>
|
2042
2063
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2043
|
-
<td>
|
2064
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2044
2065
|
</td>
|
2045
2066
|
</tr>
|
2046
2067
|
<tr>
|
2047
2068
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
2048
|
-
<td>
|
2069
|
+
<td>the attribute to insert. Ownership of this value is
|
2049
2070
|
assumed by the list.
|
2050
2071
|
</td>
|
2051
2072
|
</tr>
|
@@ -2053,10 +2074,10 @@ be inserted before all other attributes with a matching
|
|
2053
2074
|
</table></div>
|
2054
2075
|
</div>
|
2055
2076
|
<hr>
|
2056
|
-
<div class="refsect2"
|
2077
|
+
<div class="refsect2">
|
2057
2078
|
<a name="pango-attr-list-change"></a><h3>pango_attr_list_change ()</h3>
|
2058
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_change (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
2059
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="
|
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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2080
|
+
<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>
|
2060
2081
|
<p>
|
2061
2082
|
Insert the given attribute into the <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
|
2062
2083
|
replace any attributes of the same type on that segment
|
@@ -2067,18 +2088,19 @@ This function is slower than <a class="link" href="pango-Text-Attributes.html#pa
|
|
2067
2088
|
creating a attribute list in order (potentially much slower
|
2068
2089
|
for large lists). However, <a class="link" href="pango-Text-Attributes.html#pango-attr-list-insert" title="pango_attr_list_insert ()"><code class="function">pango_attr_list_insert()</code></a> is not
|
2069
2090
|
suitable for continually changing a set of attributes
|
2070
|
-
since it never removes or combines existing attributes
|
2091
|
+
since it never removes or combines existing attributes.
|
2092
|
+
</p>
|
2071
2093
|
<div class="variablelist"><table border="0">
|
2072
2094
|
<col align="left" valign="top">
|
2073
2095
|
<tbody>
|
2074
2096
|
<tr>
|
2075
2097
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2076
|
-
<td>
|
2098
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2077
2099
|
</td>
|
2078
2100
|
</tr>
|
2079
2101
|
<tr>
|
2080
2102
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
2081
|
-
<td>
|
2103
|
+
<td>the attribute to insert. Ownership of this value is
|
2082
2104
|
assumed by the list.
|
2083
2105
|
</td>
|
2084
2106
|
</tr>
|
@@ -2086,12 +2108,12 @@ since it never removes or combines existing attributes.</p>
|
|
2086
2108
|
</table></div>
|
2087
2109
|
</div>
|
2088
2110
|
<hr>
|
2089
|
-
<div class="refsect2"
|
2111
|
+
<div class="refsect2">
|
2090
2112
|
<a name="pango-attr-list-splice"></a><h3>pango_attr_list_splice ()</h3>
|
2091
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_splice (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
2092
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
2093
|
-
<
|
2094
|
-
<
|
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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2114
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
|
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>
|
2095
2117
|
<p>
|
2096
2118
|
This function opens up a hole in <em class="parameter"><code>list</code></em>, fills it in with attributes from
|
2097
2119
|
the left, and then merges <em class="parameter"><code>other</code></em> on top of the hole.
|
@@ -2104,28 +2126,29 @@ of each attribute in <em class="parameter"><code>other</code></em> in sequence (
|
|
2104
2126
|
</p>
|
2105
2127
|
<p>
|
2106
2128
|
This operation proves useful for, for instance, inserting
|
2107
|
-
a pre-edit string in the middle of an edit buffer
|
2129
|
+
a pre-edit string in the middle of an edit buffer.
|
2130
|
+
</p>
|
2108
2131
|
<div class="variablelist"><table border="0">
|
2109
2132
|
<col align="left" valign="top">
|
2110
2133
|
<tbody>
|
2111
2134
|
<tr>
|
2112
2135
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2113
|
-
<td>
|
2136
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2114
2137
|
</td>
|
2115
2138
|
</tr>
|
2116
2139
|
<tr>
|
2117
2140
|
<td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
|
2118
|
-
<td>
|
2141
|
+
<td>another <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2119
2142
|
</td>
|
2120
2143
|
</tr>
|
2121
2144
|
<tr>
|
2122
2145
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
2123
|
-
<td>
|
2146
|
+
<td>the position in <em class="parameter"><code>list</code></em> at which to insert <em class="parameter"><code>other</code></em>
|
2124
2147
|
</td>
|
2125
2148
|
</tr>
|
2126
2149
|
<tr>
|
2127
2150
|
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
2128
|
-
<td>
|
2151
|
+
<td>the length of the spliced segment. (Note that this
|
2129
2152
|
must be specified since the attributes in <em class="parameter"><code>other</code></em>
|
2130
2153
|
may only be present at some subsection of this range)
|
2131
2154
|
</td>
|
@@ -2134,37 +2157,38 @@ a pre-edit string in the middle of an edit buffer.</p>
|
|
2134
2157
|
</table></div>
|
2135
2158
|
</div>
|
2136
2159
|
<hr>
|
2137
|
-
<div class="refsect2"
|
2160
|
+
<div class="refsect2">
|
2138
2161
|
<a name="pango-attr-list-filter"></a><h3>pango_attr_list_filter ()</h3>
|
2139
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_filter (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
2140
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="
|
2141
|
-
<
|
2162
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_filter (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2163
|
+
<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>
|
2142
2165
|
<p>
|
2143
2166
|
Given a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> and callback function, removes any elements
|
2144
|
-
of <em class="parameter"><code>list</code></em> for which <em class="parameter"><code>func</code></em> returns <
|
2145
|
-
a new list
|
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
|
2168
|
+
a new list.
|
2169
|
+
</p>
|
2146
2170
|
<div class="variablelist"><table border="0">
|
2147
2171
|
<col align="left" valign="top">
|
2148
2172
|
<tbody>
|
2149
2173
|
<tr>
|
2150
2174
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2151
|
-
<td>
|
2175
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2152
2176
|
</td>
|
2153
2177
|
</tr>
|
2154
2178
|
<tr>
|
2155
2179
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2156
|
-
<td>
|
2180
|
+
<td>callback function; returns <code class="literal">TRUE</code> if an attribute
|
2157
2181
|
should be filtered out.
|
2158
2182
|
</td>
|
2159
2183
|
</tr>
|
2160
2184
|
<tr>
|
2161
2185
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2162
|
-
<td>
|
2186
|
+
<td>Data to be passed to <em class="parameter"><code>func</code></em>
|
2163
2187
|
</td>
|
2164
2188
|
</tr>
|
2165
2189
|
<tr>
|
2166
2190
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2167
|
-
<td> the new <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> or <a href="/usr/share/gtk-doc/html/
|
2191
|
+
<td> the new <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
|
2168
2192
|
no attributes of the given types were found.
|
2169
2193
|
|
2170
2194
|
</td>
|
@@ -2174,10 +2198,10 @@ a new list.</p>
|
|
2174
2198
|
<p class="since">Since 1.2</p>
|
2175
2199
|
</div>
|
2176
2200
|
<hr>
|
2177
|
-
<div class="refsect2"
|
2201
|
+
<div class="refsect2">
|
2178
2202
|
<a name="PangoAttrFilterFunc"></a><h3>PangoAttrFilterFunc ()</h3>
|
2179
|
-
<pre class="programlisting"><
|
2180
|
-
<
|
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>
|
2181
2205
|
<p>
|
2182
2206
|
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>
|
2183
2207
|
to filter out a subset of attributes for a list.
|
@@ -2187,7 +2211,7 @@ to filter out a subset of attributes for a list.
|
|
2187
2211
|
<tbody>
|
2188
2212
|
<tr>
|
2189
2213
|
<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
|
2190
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>
|
2214
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>
|
2191
2215
|
</td>
|
2192
2216
|
</tr>
|
2193
2217
|
<tr>
|
@@ -2198,25 +2222,26 @@ to filter out a subset of attributes for a list.
|
|
2198
2222
|
<tr>
|
2199
2223
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2200
2224
|
<td>
|
2201
|
-
<
|
2225
|
+
<code class="literal">TRUE</code> if the attribute should be filtered out
|
2202
2226
|
</td>
|
2203
2227
|
</tr>
|
2204
2228
|
</tbody>
|
2205
2229
|
</table></div>
|
2206
2230
|
</div>
|
2207
2231
|
<hr>
|
2208
|
-
<div class="refsect2"
|
2232
|
+
<div class="refsect2">
|
2209
2233
|
<a name="pango-attr-list-get-iterator"></a><h3>pango_attr_list_get_iterator ()</h3>
|
2210
|
-
<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 (<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
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" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
2211
2235
|
<p>
|
2212
2236
|
Create a iterator initialized to the beginning of the list.
|
2213
|
-
<em class="parameter"><code>list</code></em> must not be modified until this iterator is freed
|
2237
|
+
<em class="parameter"><code>list</code></em> must not be modified until this iterator is freed.
|
2238
|
+
</p>
|
2214
2239
|
<div class="variablelist"><table border="0">
|
2215
2240
|
<col align="left" valign="top">
|
2216
2241
|
<tbody>
|
2217
2242
|
<tr>
|
2218
2243
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2219
|
-
<td>
|
2244
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>
|
2220
2245
|
</td>
|
2221
2246
|
</tr>
|
2222
2247
|
<tr>
|
@@ -2229,7 +2254,7 @@ Create a iterator initialized to the beginning of the list.
|
|
2229
2254
|
</table></div>
|
2230
2255
|
</div>
|
2231
2256
|
<hr>
|
2232
|
-
<div class="refsect2"
|
2257
|
+
<div class="refsect2">
|
2233
2258
|
<a name="PangoAttrIterator"></a><h3>PangoAttrIterator</h3>
|
2234
2259
|
<pre class="programlisting">typedef struct _PangoAttrIterator PangoAttrIterator;</pre>
|
2235
2260
|
<p>
|
@@ -2243,17 +2268,18 @@ attributes currently in effect can be queried.
|
|
2243
2268
|
</p>
|
2244
2269
|
</div>
|
2245
2270
|
<hr>
|
2246
|
-
<div class="refsect2"
|
2271
|
+
<div class="refsect2">
|
2247
2272
|
<a name="pango-attr-iterator-copy"></a><h3>pango_attr_iterator_copy ()</h3>
|
2248
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * pango_attr_iterator_copy (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
2273
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * pango_attr_iterator_copy (<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>
|
2249
2274
|
<p>
|
2250
|
-
Copy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a
|
2275
|
+
Copy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
|
2276
|
+
</p>
|
2251
2277
|
<div class="variablelist"><table border="0">
|
2252
2278
|
<col align="left" valign="top">
|
2253
2279
|
<tbody>
|
2254
2280
|
<tr>
|
2255
2281
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2256
|
-
<td>
|
2282
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>.
|
2257
2283
|
</td>
|
2258
2284
|
</tr>
|
2259
2285
|
<tr>
|
@@ -2266,86 +2292,89 @@ Copy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title
|
|
2266
2292
|
</table></div>
|
2267
2293
|
</div>
|
2268
2294
|
<hr>
|
2269
|
-
<div class="refsect2"
|
2295
|
+
<div class="refsect2">
|
2270
2296
|
<a name="pango-attr-iterator-next"></a><h3>pango_attr_iterator_next ()</h3>
|
2271
|
-
<pre class="programlisting"><
|
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>
|
2272
2298
|
<p>
|
2273
|
-
Advance the iterator until the next change of style
|
2299
|
+
Advance the iterator until the next change of style.
|
2300
|
+
</p>
|
2274
2301
|
<div class="variablelist"><table border="0">
|
2275
2302
|
<col align="left" valign="top">
|
2276
2303
|
<tbody>
|
2277
2304
|
<tr>
|
2278
2305
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2279
|
-
<td>
|
2306
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
|
2280
2307
|
</td>
|
2281
2308
|
</tr>
|
2282
2309
|
<tr>
|
2283
2310
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2284
|
-
<td> <
|
2311
|
+
<td> <code class="literal">FALSE</code> if the iterator is at the end of the list, otherwise <code class="literal">TRUE</code>
|
2285
2312
|
</td>
|
2286
2313
|
</tr>
|
2287
2314
|
</tbody>
|
2288
2315
|
</table></div>
|
2289
2316
|
</div>
|
2290
2317
|
<hr>
|
2291
|
-
<div class="refsect2"
|
2318
|
+
<div class="refsect2">
|
2292
2319
|
<a name="pango-attr-iterator-range"></a><h3>pango_attr_iterator_range ()</h3>
|
2293
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_range (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
2294
|
-
<
|
2295
|
-
<
|
2320
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_range (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
2321
|
+
<em class="parameter"><code><span class="type">gint</span> *start</code></em>,
|
2322
|
+
<em class="parameter"><code><span class="type">gint</span> *end</code></em>);</pre>
|
2296
2323
|
<p>
|
2297
2324
|
Get the range of the current segment. Note that the
|
2298
2325
|
stored return values are signed, not unsigned like
|
2299
|
-
the values in <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>. To deal with this API
|
2326
|
+
the values in <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>. To deal with this API
|
2300
2327
|
oversight, stored return values that wouldn't fit into
|
2301
|
-
a signed integer are clamped to <
|
2328
|
+
a signed integer are clamped to <code class="literal">G_MAXINT</code>.
|
2329
|
+
</p>
|
2302
2330
|
<div class="variablelist"><table border="0">
|
2303
2331
|
<col align="left" valign="top">
|
2304
2332
|
<tbody>
|
2305
2333
|
<tr>
|
2306
2334
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2307
|
-
<td>
|
2335
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
|
2308
2336
|
</td>
|
2309
2337
|
</tr>
|
2310
2338
|
<tr>
|
2311
2339
|
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
2312
|
-
<td>
|
2340
|
+
<td>location to store the start of the range
|
2313
2341
|
</td>
|
2314
2342
|
</tr>
|
2315
2343
|
<tr>
|
2316
2344
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
2317
|
-
<td>
|
2345
|
+
<td>location to store the end of the range
|
2318
2346
|
</td>
|
2319
2347
|
</tr>
|
2320
2348
|
</tbody>
|
2321
2349
|
</table></div>
|
2322
2350
|
</div>
|
2323
2351
|
<hr>
|
2324
|
-
<div class="refsect2"
|
2352
|
+
<div class="refsect2">
|
2325
2353
|
<a name="pango-attr-iterator-get"></a><h3>pango_attr_iterator_get ()</h3>
|
2326
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_iterator_get (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
2327
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="
|
2354
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_iterator_get (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
2355
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);</pre>
|
2328
2356
|
<p>
|
2329
2357
|
Find the current attribute of a particular type at the iterator
|
2330
2358
|
location. When multiple attributes of the same type overlap,
|
2331
2359
|
the attribute whose range starts closest to the current location
|
2332
|
-
is used
|
2360
|
+
is used.
|
2361
|
+
</p>
|
2333
2362
|
<div class="variablelist"><table border="0">
|
2334
2363
|
<col align="left" valign="top">
|
2335
2364
|
<tbody>
|
2336
2365
|
<tr>
|
2337
2366
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2338
|
-
<td>
|
2367
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
|
2339
2368
|
</td>
|
2340
2369
|
</tr>
|
2341
2370
|
<tr>
|
2342
2371
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
2343
|
-
<td>
|
2372
|
+
<td>the type of attribute to find.
|
2344
2373
|
</td>
|
2345
2374
|
</tr>
|
2346
2375
|
<tr>
|
2347
2376
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2348
|
-
<td> the current attribute of the given type, or <a href="/usr/share/gtk-doc/html/
|
2377
|
+
<td> the current attribute of the given type, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2349
2378
|
if no attribute of that type applies to the current
|
2350
2379
|
location.
|
2351
2380
|
</td>
|
@@ -2354,25 +2383,26 @@ is used.</p>
|
|
2354
2383
|
</table></div>
|
2355
2384
|
</div>
|
2356
2385
|
<hr>
|
2357
|
-
<div class="refsect2"
|
2386
|
+
<div class="refsect2">
|
2358
2387
|
<a name="pango-attr-iterator-get-font"></a><h3>pango_attr_iterator_get_font ()</h3>
|
2359
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_get_font (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
2360
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
2361
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
2362
|
-
<
|
2388
|
+
<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" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
2390
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
|
2391
|
+
<em class="parameter"><code><span class="type">GSList</span> **extra_attrs</code></em>);</pre>
|
2363
2392
|
<p>
|
2364
|
-
Get the font and other attributes at the current iterator position
|
2393
|
+
Get the font and other attributes at the current iterator position.
|
2394
|
+
</p>
|
2365
2395
|
<div class="variablelist"><table border="0">
|
2366
2396
|
<col align="left" valign="top">
|
2367
2397
|
<tbody>
|
2368
2398
|
<tr>
|
2369
2399
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2370
|
-
<td>
|
2400
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
|
2371
2401
|
</td>
|
2372
2402
|
</tr>
|
2373
2403
|
<tr>
|
2374
2404
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
2375
|
-
<td>
|
2405
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> to fill in with the current values.
|
2376
2406
|
The family name in this structure will be set using
|
2377
2407
|
<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
|
2378
2408
|
an attribute in the <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> associated with the iterator,
|
@@ -2382,51 +2412,63 @@ Get the font and other attributes at the current iterator position.</p>
|
|
2382
2412
|
</tr>
|
2383
2413
|
<tr>
|
2384
2414
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2385
|
-
<td>
|
2415
|
+
<td>if non-<a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, location to store language tag for item, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2386
2416
|
if none is found.
|
2387
2417
|
</td>
|
2388
2418
|
</tr>
|
2389
2419
|
<tr>
|
2390
2420
|
<td><p><span class="term"><em class="parameter"><code>extra_attrs</code></em> :</span></p></td>
|
2391
|
-
<td>
|
2421
|
+
<td> (transfer full): if non-<a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>,
|
2422
|
+
location in which to store a list of non-font
|
2423
|
+
attributes at the the current position; only the highest priority
|
2424
|
+
value of each attribute will be added to this list. In order
|
2425
|
+
to free this value, you must call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
|
2426
|
+
each member. <span class="annotation">[element type Pango.Attribute]</span>
|
2427
|
+
</td>
|
2392
2428
|
</tr>
|
2393
2429
|
</tbody>
|
2394
2430
|
</table></div>
|
2395
2431
|
</div>
|
2396
2432
|
<hr>
|
2397
|
-
<div class="refsect2"
|
2433
|
+
<div class="refsect2">
|
2398
2434
|
<a name="pango-attr-iterator-get-attrs"></a><h3>pango_attr_iterator_get_attrs ()</h3>
|
2399
|
-
<pre class="programlisting"><
|
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>
|
2400
2436
|
<p>
|
2401
2437
|
Gets a list of all attributes at the current position of the
|
2402
|
-
iterator
|
2438
|
+
iterator.
|
2439
|
+
</p>
|
2403
2440
|
<div class="variablelist"><table border="0">
|
2404
2441
|
<col align="left" valign="top">
|
2405
2442
|
<tbody>
|
2406
2443
|
<tr>
|
2407
2444
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2408
|
-
<td>
|
2445
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
|
2409
2446
|
</td>
|
2410
2447
|
</tr>
|
2411
2448
|
<tr>
|
2412
2449
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2413
|
-
<td>
|
2450
|
+
<td> (transfer full): a list of
|
2451
|
+
all attributes for the current range.
|
2452
|
+
To free this value, call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
|
2453
|
+
each value and <code class="function">g_slist_free()</code> on the list. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.Attribute]</span>
|
2454
|
+
</td>
|
2414
2455
|
</tr>
|
2415
2456
|
</tbody>
|
2416
2457
|
</table></div>
|
2417
2458
|
<p class="since">Since 1.2</p>
|
2418
2459
|
</div>
|
2419
2460
|
<hr>
|
2420
|
-
<div class="refsect2"
|
2461
|
+
<div class="refsect2">
|
2421
2462
|
<a name="pango-attr-iterator-destroy"></a><h3>pango_attr_iterator_destroy ()</h3>
|
2422
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_destroy (<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="
|
2463
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_destroy (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2423
2464
|
<p>
|
2424
|
-
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> and free all associated memory
|
2465
|
+
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> and free all associated memory.
|
2466
|
+
</p>
|
2425
2467
|
<div class="variablelist"><table border="0">
|
2426
2468
|
<col align="left" valign="top">
|
2427
2469
|
<tbody><tr>
|
2428
2470
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2429
|
-
<td>
|
2471
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>.
|
2430
2472
|
</td>
|
2431
2473
|
</tr></tbody>
|
2432
2474
|
</table></div>
|
@@ -2435,6 +2477,6 @@ Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" ti
|
|
2435
2477
|
</div>
|
2436
2478
|
<div class="footer">
|
2437
2479
|
<hr>
|
2438
|
-
Generated by GTK-Doc V1.
|
2480
|
+
Generated by GTK-Doc V1.15.1</div>
|
2439
2481
|
</body>
|
2440
2482
|
</html>
|