pango 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +12 -1
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +14 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/pango.pc +5 -4
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
- data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
- data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
- data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
- data/vendor/local/share/man/man1/pango-view.1 +4 -4
- metadata +43 -50
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +0 -397
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.def +0 -34
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.def +0 -85
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +0 -30
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
- data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
- data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
- data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Tab Stops</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Text-Attributes.html" title="Text Attributes">
|
10
10
|
<link rel="next" href="PangoMarkupFormat.html" title="Text Attribute Markup">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -43,30 +43,30 @@
|
|
43
43
|
#define <a class="link" href="pango-Tab-Stops.html#PANGO-TYPE-TAB-ARRAY:CAPS" title="PANGO_TYPE_TAB_ARRAY">PANGO_TYPE_TAB_ARRAY</a>
|
44
44
|
enum <a class="link" href="pango-Tab-Stops.html#PangoTabAlign-enum" title="enum PangoTabAlign">PangoTabAlign</a>;
|
45
45
|
#define <a class="link" href="pango-Tab-Stops.html#PANGO-TYPE-TAB-ALIGN:CAPS" title="PANGO_TYPE_TAB_ALIGN">PANGO_TYPE_TAB_ALIGN</a>
|
46
|
-
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * <a class="link" href="pango-Tab-Stops.html#pango-tab-array-new" title="pango_tab_array_new ()">pango_tab_array_new</a> (<em class="parameter"><code><
|
47
|
-
<em class="parameter"><code><
|
48
|
-
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * <a class="link" href="pango-Tab-Stops.html#pango-tab-array-new-with-positions" title="pango_tab_array_new_with_positions ()">pango_tab_array_new_with_positions</a> (<em class="parameter"><code><
|
49
|
-
<em class="parameter"><code><
|
46
|
+
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * <a class="link" href="pango-Tab-Stops.html#pango-tab-array-new" title="pango_tab_array_new ()">pango_tab_array_new</a> (<em class="parameter"><code><span class="type">gint</span> initial_size</code></em>,
|
47
|
+
<em class="parameter"><code><span class="type">gboolean</span> positions_in_pixels</code></em>);
|
48
|
+
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * <a class="link" href="pango-Tab-Stops.html#pango-tab-array-new-with-positions" title="pango_tab_array_new_with_positions ()">pango_tab_array_new_with_positions</a> (<em class="parameter"><code><span class="type">gint</span> size</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">gboolean</span> positions_in_pixels</code></em>,
|
50
50
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> first_alignment</code></em>,
|
51
|
-
<em class="parameter"><code><
|
51
|
+
<em class="parameter"><code><span class="type">gint</span> first_position</code></em>,
|
52
52
|
<em class="parameter"><code>...</code></em>);
|
53
53
|
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * <a class="link" href="pango-Tab-Stops.html#pango-tab-array-copy" title="pango_tab_array_copy ()">pango_tab_array_copy</a> (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *src</code></em>);
|
54
54
|
<span class="returnvalue">void</span> <a class="link" href="pango-Tab-Stops.html#pango-tab-array-free" title="pango_tab_array_free ()">pango_tab_array_free</a> (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>);
|
55
|
-
<
|
55
|
+
<span class="returnvalue">gint</span> <a class="link" href="pango-Tab-Stops.html#pango-tab-array-get-size" title="pango_tab_array_get_size ()">pango_tab_array_get_size</a> (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>);
|
56
56
|
<span class="returnvalue">void</span> <a class="link" href="pango-Tab-Stops.html#pango-tab-array-resize" title="pango_tab_array_resize ()">pango_tab_array_resize</a> (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>,
|
57
|
-
<em class="parameter"><code><
|
57
|
+
<em class="parameter"><code><span class="type">gint</span> new_size</code></em>);
|
58
58
|
<span class="returnvalue">void</span> <a class="link" href="pango-Tab-Stops.html#pango-tab-array-set-tab" title="pango_tab_array_set_tab ()">pango_tab_array_set_tab</a> (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>,
|
59
|
-
<em class="parameter"><code><
|
59
|
+
<em class="parameter"><code><span class="type">gint</span> tab_index</code></em>,
|
60
60
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> alignment</code></em>,
|
61
|
-
<em class="parameter"><code><
|
61
|
+
<em class="parameter"><code><span class="type">gint</span> location</code></em>);
|
62
62
|
<span class="returnvalue">void</span> <a class="link" href="pango-Tab-Stops.html#pango-tab-array-get-tab" title="pango_tab_array_get_tab ()">pango_tab_array_get_tab</a> (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>,
|
63
|
-
<em class="parameter"><code><
|
63
|
+
<em class="parameter"><code><span class="type">gint</span> tab_index</code></em>,
|
64
64
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> *alignment</code></em>,
|
65
|
-
<em class="parameter"><code><
|
65
|
+
<em class="parameter"><code><span class="type">gint</span> *location</code></em>);
|
66
66
|
<span class="returnvalue">void</span> <a class="link" href="pango-Tab-Stops.html#pango-tab-array-get-tabs" title="pango_tab_array_get_tabs ()">pango_tab_array_get_tabs</a> (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>,
|
67
67
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> **alignments</code></em>,
|
68
|
-
<em class="parameter"><code><
|
69
|
-
<
|
68
|
+
<em class="parameter"><code><span class="type">gint</span> **locations</code></em>);
|
69
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Tab-Stops.html#pango-tab-array-get-positions-in-pixels" title="pango_tab_array_get_positions_in_pixels ()">pango_tab_array_get_positions_in_pixels</a>
|
70
70
|
(<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>);
|
71
71
|
</pre>
|
72
72
|
</div>
|
@@ -104,7 +104,7 @@ of tab stops. Each tab stop has an alignment and a position.
|
|
104
104
|
<pre class="programlisting">#define PANGO_TYPE_TAB_ARRAY (pango_tab_array_get_type ())
|
105
105
|
</pre>
|
106
106
|
<p>
|
107
|
-
The <
|
107
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>.
|
108
108
|
</p>
|
109
109
|
</div>
|
110
110
|
<hr>
|
@@ -125,8 +125,11 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
125
125
|
<p>
|
126
126
|
A <a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> specifies where a tab stop appears relative to the text.
|
127
127
|
</p>
|
128
|
-
<div class="variablelist"><table border="0">
|
128
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
129
|
+
<colgroup>
|
129
130
|
<col align="left" valign="top">
|
131
|
+
<col>
|
132
|
+
</colgroup>
|
130
133
|
<tbody><tr>
|
131
134
|
<td><p><a name="PANGO-TAB-LEFT:CAPS"></a><span class="term"><code class="literal">PANGO_TAB_LEFT</code></span></p></td>
|
132
135
|
<td>the tab stop appears to the left of the text.
|
@@ -137,24 +140,27 @@ A <a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">P
|
|
137
140
|
<hr>
|
138
141
|
<div class="refsect2">
|
139
142
|
<a name="PANGO-TYPE-TAB-ALIGN:CAPS"></a><h3>PANGO_TYPE_TAB_ALIGN</h3>
|
140
|
-
<pre class="programlisting">#define PANGO_TYPE_TAB_ALIGN (pango_tab_align_get_type())
|
143
|
+
<pre class="programlisting">#define PANGO_TYPE_TAB_ALIGN (pango_tab_align_get_type ())
|
141
144
|
</pre>
|
142
145
|
<p>
|
143
|
-
The <
|
146
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a>.
|
144
147
|
</p>
|
145
148
|
</div>
|
146
149
|
<hr>
|
147
150
|
<div class="refsect2">
|
148
151
|
<a name="pango-tab-array-new"></a><h3>pango_tab_array_new ()</h3>
|
149
|
-
<pre class="programlisting"><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * pango_tab_array_new (<em class="parameter"><code><
|
150
|
-
<em class="parameter"><code><
|
152
|
+
<pre class="programlisting"><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * pango_tab_array_new (<em class="parameter"><code><span class="type">gint</span> initial_size</code></em>,
|
153
|
+
<em class="parameter"><code><span class="type">gboolean</span> positions_in_pixels</code></em>);</pre>
|
151
154
|
<p>
|
152
155
|
Creates an array of <em class="parameter"><code>initial_size</code></em> tab stops. Tab stops are specified in
|
153
|
-
pixel units if <em class="parameter"><code>positions_in_pixels</code></em> is <
|
156
|
+
pixel units if <em class="parameter"><code>positions_in_pixels</code></em> is <code class="literal">TRUE</code>, otherwise in Pango
|
154
157
|
units. All stops are initially at position 0.
|
155
158
|
</p>
|
156
|
-
<div class="variablelist"><table border="0">
|
159
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
160
|
+
<colgroup>
|
157
161
|
<col align="left" valign="top">
|
162
|
+
<col>
|
163
|
+
</colgroup>
|
158
164
|
<tbody>
|
159
165
|
<tr>
|
160
166
|
<td><p><span class="term"><em class="parameter"><code>initial_size</code></em> :</span></p></td>
|
@@ -175,10 +181,10 @@ be freed with <a class="link" href="pango-Tab-Stops.html#pango-tab-array-free" t
|
|
175
181
|
<hr>
|
176
182
|
<div class="refsect2">
|
177
183
|
<a name="pango-tab-array-new-with-positions"></a><h3>pango_tab_array_new_with_positions ()</h3>
|
178
|
-
<pre class="programlisting"><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * pango_tab_array_new_with_positions (<em class="parameter"><code><
|
179
|
-
<em class="parameter"><code><
|
184
|
+
<pre class="programlisting"><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * pango_tab_array_new_with_positions (<em class="parameter"><code><span class="type">gint</span> size</code></em>,
|
185
|
+
<em class="parameter"><code><span class="type">gboolean</span> positions_in_pixels</code></em>,
|
180
186
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> first_alignment</code></em>,
|
181
|
-
<em class="parameter"><code><
|
187
|
+
<em class="parameter"><code><span class="type">gint</span> first_position</code></em>,
|
182
188
|
<em class="parameter"><code>...</code></em>);</pre>
|
183
189
|
<p>
|
184
190
|
This is a convenience function that creates a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>
|
@@ -186,8 +192,11 @@ and allows you to specify the alignment and position of each
|
|
186
192
|
tab stop. You <span class="emphasis"><em>must</em></span> provide an alignment
|
187
193
|
and position for <em class="parameter"><code>size</code></em> tab stops.
|
188
194
|
</p>
|
189
|
-
<div class="variablelist"><table border="0">
|
195
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
196
|
+
<colgroup>
|
190
197
|
<col align="left" valign="top">
|
198
|
+
<col>
|
199
|
+
</colgroup>
|
191
200
|
<tbody>
|
192
201
|
<tr>
|
193
202
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
@@ -206,6 +215,10 @@ and position for <em class="parameter"><code>size</code></em> tab stops.
|
|
206
215
|
<td>position of first tab stop</td>
|
207
216
|
</tr>
|
208
217
|
<tr>
|
218
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
219
|
+
<td>additional alignment/position pairs</td>
|
220
|
+
</tr>
|
221
|
+
<tr>
|
209
222
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
210
223
|
<td>the newly allocated <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>, which should
|
211
224
|
be freed with <a class="link" href="pango-Tab-Stops.html#pango-tab-array-free" title="pango_tab_array_free ()"><code class="function">pango_tab_array_free()</code></a>.</td>
|
@@ -220,8 +233,11 @@ be freed with <a class="link" href="pango-Tab-Stops.html#pango-tab-array-free" t
|
|
220
233
|
<p>
|
221
234
|
Copies a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>
|
222
235
|
</p>
|
223
|
-
<div class="variablelist"><table border="0">
|
236
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
237
|
+
<colgroup>
|
224
238
|
<col align="left" valign="top">
|
239
|
+
<col>
|
240
|
+
</colgroup>
|
225
241
|
<tbody>
|
226
242
|
<tr>
|
227
243
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
@@ -243,8 +259,11 @@ be freed with <a class="link" href="pango-Tab-Stops.html#pango-tab-array-free" t
|
|
243
259
|
<p>
|
244
260
|
Frees a tab array and associated resources.
|
245
261
|
</p>
|
246
|
-
<div class="variablelist"><table border="0">
|
262
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
263
|
+
<colgroup>
|
247
264
|
<col align="left" valign="top">
|
265
|
+
<col>
|
266
|
+
</colgroup>
|
248
267
|
<tbody><tr>
|
249
268
|
<td><p><span class="term"><em class="parameter"><code>tab_array</code></em> :</span></p></td>
|
250
269
|
<td>a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>
|
@@ -255,12 +274,15 @@ Frees a tab array and associated resources.
|
|
255
274
|
<hr>
|
256
275
|
<div class="refsect2">
|
257
276
|
<a name="pango-tab-array-get-size"></a><h3>pango_tab_array_get_size ()</h3>
|
258
|
-
<pre class="programlisting"><
|
277
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> pango_tab_array_get_size (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>);</pre>
|
259
278
|
<p>
|
260
279
|
Gets the number of tab stops in <em class="parameter"><code>tab_array</code></em>.
|
261
280
|
</p>
|
262
|
-
<div class="variablelist"><table border="0">
|
281
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
282
|
+
<colgroup>
|
263
283
|
<col align="left" valign="top">
|
284
|
+
<col>
|
285
|
+
</colgroup>
|
264
286
|
<tbody>
|
265
287
|
<tr>
|
266
288
|
<td><p><span class="term"><em class="parameter"><code>tab_array</code></em> :</span></p></td>
|
@@ -278,13 +300,16 @@ Gets the number of tab stops in <em class="parameter"><code>tab_array</code></em
|
|
278
300
|
<div class="refsect2">
|
279
301
|
<a name="pango-tab-array-resize"></a><h3>pango_tab_array_resize ()</h3>
|
280
302
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_tab_array_resize (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>,
|
281
|
-
<em class="parameter"><code><
|
303
|
+
<em class="parameter"><code><span class="type">gint</span> new_size</code></em>);</pre>
|
282
304
|
<p>
|
283
305
|
Resizes a tab array. You must subsequently initialize any tabs that
|
284
306
|
were added as a result of growing the array.
|
285
307
|
</p>
|
286
|
-
<div class="variablelist"><table border="0">
|
308
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
309
|
+
<colgroup>
|
287
310
|
<col align="left" valign="top">
|
311
|
+
<col>
|
312
|
+
</colgroup>
|
288
313
|
<tbody>
|
289
314
|
<tr>
|
290
315
|
<td><p><span class="term"><em class="parameter"><code>tab_array</code></em> :</span></p></td>
|
@@ -302,16 +327,19 @@ were added as a result of growing the array.
|
|
302
327
|
<div class="refsect2">
|
303
328
|
<a name="pango-tab-array-set-tab"></a><h3>pango_tab_array_set_tab ()</h3>
|
304
329
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_tab_array_set_tab (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>,
|
305
|
-
<em class="parameter"><code><
|
330
|
+
<em class="parameter"><code><span class="type">gint</span> tab_index</code></em>,
|
306
331
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> alignment</code></em>,
|
307
|
-
<em class="parameter"><code><
|
332
|
+
<em class="parameter"><code><span class="type">gint</span> location</code></em>);</pre>
|
308
333
|
<p>
|
309
334
|
Sets the alignment and location of a tab stop.
|
310
335
|
<em class="parameter"><code>alignment</code></em> must always be <a class="link" href="pango-Tab-Stops.html#PANGO-TAB-LEFT:CAPS"><span class="type">PANGO_TAB_LEFT</span></a> in the current
|
311
336
|
implementation.
|
312
337
|
</p>
|
313
|
-
<div class="variablelist"><table border="0">
|
338
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
339
|
+
<colgroup>
|
314
340
|
<col align="left" valign="top">
|
341
|
+
<col>
|
342
|
+
</colgroup>
|
315
343
|
<tbody>
|
316
344
|
<tr>
|
317
345
|
<td><p><span class="term"><em class="parameter"><code>tab_array</code></em> :</span></p></td>
|
@@ -337,14 +365,17 @@ implementation.
|
|
337
365
|
<div class="refsect2">
|
338
366
|
<a name="pango-tab-array-get-tab"></a><h3>pango_tab_array_get_tab ()</h3>
|
339
367
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_tab_array_get_tab (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>,
|
340
|
-
<em class="parameter"><code><
|
368
|
+
<em class="parameter"><code><span class="type">gint</span> tab_index</code></em>,
|
341
369
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> *alignment</code></em>,
|
342
|
-
<em class="parameter"><code><
|
370
|
+
<em class="parameter"><code><span class="type">gint</span> *location</code></em>);</pre>
|
343
371
|
<p>
|
344
372
|
Gets the alignment and position of a tab stop.
|
345
373
|
</p>
|
346
|
-
<div class="variablelist"><table border="0">
|
374
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
375
|
+
<colgroup>
|
347
376
|
<col align="left" valign="top">
|
377
|
+
<col>
|
378
|
+
</colgroup>
|
348
379
|
<tbody>
|
349
380
|
<tr>
|
350
381
|
<td><p><span class="term"><em class="parameter"><code>tab_array</code></em> :</span></p></td>
|
@@ -357,12 +388,12 @@ Gets the alignment and position of a tab stop.
|
|
357
388
|
</tr>
|
358
389
|
<tr>
|
359
390
|
<td><p><span class="term"><em class="parameter"><code>alignment</code></em> :</span></p></td>
|
360
|
-
<td>location to store alignment, or <a href="/
|
391
|
+
<td>location to store alignment, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
361
392
|
</td>
|
362
393
|
</tr>
|
363
394
|
<tr>
|
364
395
|
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
|
365
|
-
<td>location to store tab position, or <a href="/
|
396
|
+
<td>location to store tab position, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
366
397
|
</td>
|
367
398
|
</tr>
|
368
399
|
</tbody>
|
@@ -373,14 +404,17 @@ Gets the alignment and position of a tab stop.
|
|
373
404
|
<a name="pango-tab-array-get-tabs"></a><h3>pango_tab_array_get_tabs ()</h3>
|
374
405
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_tab_array_get_tabs (<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>,
|
375
406
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabAlign"><span class="type">PangoTabAlign</span></a> **alignments</code></em>,
|
376
|
-
<em class="parameter"><code><
|
407
|
+
<em class="parameter"><code><span class="type">gint</span> **locations</code></em>);</pre>
|
377
408
|
<p>
|
378
|
-
If non-<a href="/
|
409
|
+
If non-<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>alignments</code></em> and <em class="parameter"><code>locations</code></em> are filled with allocated
|
379
410
|
arrays of length <a class="link" href="pango-Tab-Stops.html#pango-tab-array-get-size" title="pango_tab_array_get_size ()"><code class="function">pango_tab_array_get_size()</code></a>. You must free the
|
380
411
|
returned array.
|
381
412
|
</p>
|
382
|
-
<div class="variablelist"><table border="0">
|
413
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
414
|
+
<colgroup>
|
383
415
|
<col align="left" valign="top">
|
416
|
+
<col>
|
417
|
+
</colgroup>
|
384
418
|
<tbody>
|
385
419
|
<tr>
|
386
420
|
<td><p><span class="term"><em class="parameter"><code>tab_array</code></em> :</span></p></td>
|
@@ -389,14 +423,14 @@ returned array.
|
|
389
423
|
</tr>
|
390
424
|
<tr>
|
391
425
|
<td><p><span class="term"><em class="parameter"><code>alignments</code></em> :</span></p></td>
|
392
|
-
<td>location to store an array of tab
|
393
|
-
alignments, or <a href="/
|
426
|
+
<td>location to store an array of tab
|
427
|
+
stop alignments, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
394
428
|
</td>
|
395
429
|
</tr>
|
396
430
|
<tr>
|
397
431
|
<td><p><span class="term"><em class="parameter"><code>locations</code></em> :</span></p></td>
|
398
|
-
<td>location to store an array
|
399
|
-
or <a href="/
|
432
|
+
<td>location to store an array
|
433
|
+
of tab positions, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span>
|
400
434
|
</td>
|
401
435
|
</tr>
|
402
436
|
</tbody>
|
@@ -405,14 +439,17 @@ or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><co
|
|
405
439
|
<hr>
|
406
440
|
<div class="refsect2">
|
407
441
|
<a name="pango-tab-array-get-positions-in-pixels"></a><h3>pango_tab_array_get_positions_in_pixels ()</h3>
|
408
|
-
<pre class="programlisting"><
|
442
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_tab_array_get_positions_in_pixels
|
409
443
|
(<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tab_array</code></em>);</pre>
|
410
444
|
<p>
|
411
|
-
Returns <
|
445
|
+
Returns <code class="literal">TRUE</code> if the tab positions are in pixels, <code class="literal">FALSE</code> if they are
|
412
446
|
in Pango units.
|
413
447
|
</p>
|
414
|
-
<div class="variablelist"><table border="0">
|
448
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
449
|
+
<colgroup>
|
415
450
|
<col align="left" valign="top">
|
451
|
+
<col>
|
452
|
+
</colgroup>
|
416
453
|
<tbody>
|
417
454
|
<tr>
|
418
455
|
<td><p><span class="term"><em class="parameter"><code>tab_array</code></em> :</span></p></td>
|
@@ -430,6 +467,6 @@ in Pango units.
|
|
430
467
|
</div>
|
431
468
|
<div class="footer">
|
432
469
|
<hr>
|
433
|
-
Generated by GTK-Doc V1.18</div>
|
470
|
+
Generated by GTK-Doc V1.18.1</div>
|
434
471
|
</body>
|
435
472
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Text Attributes</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Fonts.html" title="Fonts">
|
10
10
|
<link rel="next" href="pango-Tab-Stops.html" title="Tab Stops">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -53,19 +53,25 @@ struct <a class="link" href="pango-Text-Attributes.html#PangoAttrFl
|
|
53
53
|
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc">PangoAttrFontDesc</a>;
|
54
54
|
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape">PangoAttrShape</a>;
|
55
55
|
struct <a class="link" href="pango-Text-Attributes.html#PangoAttrSize" title="struct PangoAttrSize">PangoAttrSize</a>;
|
56
|
-
<
|
56
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()">pango_parse_markup</a> (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
|
57
57
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
58
|
-
<em class="parameter"><code><
|
58
|
+
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
59
59
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
60
60
|
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
|
61
|
-
<em class="parameter"><code><
|
62
|
-
<em class="parameter"><code><
|
63
|
-
<
|
61
|
+
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
63
|
+
<span class="returnvalue">GMarkupParseContext</span> * <a class="link" href="pango-Text-Attributes.html#pango-markup-parser-new" title="pango_markup_parser_new ()">pango_markup_parser_new</a> (<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>);
|
64
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-markup-parser-finish" title="pango_markup_parser_finish ()">pango_markup_parser_finish</a> (<em class="parameter"><code><span class="type">GMarkupParseContext</span> *context</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
66
|
+
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
69
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> <a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()">pango_attr_type_register</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
|
64
70
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()">pango_attr_type_get_name</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
|
65
71
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()">pango_attribute_init</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>,
|
66
72
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass"><span class="type">PangoAttrClass</span></a> *klass</code></em>);
|
67
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-attribute-copy" title="pango_attribute_copy ()">pango_attribute_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
68
|
-
<
|
74
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-equal" title="pango_attribute_equal ()">pango_attribute_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
|
69
75
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);
|
70
76
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()">pango_attribute_destroy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
71
77
|
|
@@ -78,30 +84,30 @@ const <span class="returnvalue">char</span> * <a class="link" href="pango
|
|
78
84
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-size-new" title="pango_attr_size_new ()">pango_attr_size_new</a> (<em class="parameter"><code><span class="type">int</span> size</code></em>);
|
79
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-size-new-absolute" title="pango_attr_size_new_absolute ()">pango_attr_size_new_absolute</a> (<em class="parameter"><code><span class="type">int</span> size</code></em>);
|
80
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-font-desc-new" title="pango_attr_font_desc_new ()">pango_attr_font_desc_new</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
81
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-foreground-new" title="pango_attr_foreground_new ()">pango_attr_foreground_new</a> (<em class="parameter"><code><
|
82
|
-
<em class="parameter"><code><
|
83
|
-
<em class="parameter"><code><
|
84
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-background-new" title="pango_attr_background_new ()">pango_attr_background_new</a> (<em class="parameter"><code><
|
85
|
-
<em class="parameter"><code><
|
86
|
-
<em class="parameter"><code><
|
87
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-new" title="pango_attr_strikethrough_new ()">pango_attr_strikethrough_new</a> (<em class="parameter"><code><
|
88
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-strikethrough-color-new" title="pango_attr_strikethrough_color_new ()">pango_attr_strikethrough_color_new</a> (<em class="parameter"><code><
|
89
|
-
<em class="parameter"><code><
|
90
|
-
<em class="parameter"><code><
|
87
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-foreground-new" title="pango_attr_foreground_new ()">pango_attr_foreground_new</a> (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
88
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
89
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</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-background-new" title="pango_attr_background_new ()">pango_attr_background_new</a> (<em class="parameter"><code><span class="type">guint16</span> red</code></em>,
|
91
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
92
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
|
93
|
+
<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>);
|
94
|
+
<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>,
|
95
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
96
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
|
91
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-underline-new" title="pango_attr_underline_new ()">pango_attr_underline_new</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a> underline</code></em>);
|
92
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-underline-color-new" title="pango_attr_underline_color_new ()">pango_attr_underline_color_new</a> (<em class="parameter"><code><
|
93
|
-
<em class="parameter"><code><
|
94
|
-
<em class="parameter"><code><
|
98
|
+
<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>,
|
99
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
100
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);
|
95
101
|
enum <a class="link" href="pango-Text-Attributes.html#PangoUnderline-enum" title="enum PangoUnderline">PangoUnderline</a>;
|
96
102
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-UNDERLINE:CAPS" title="PANGO_TYPE_UNDERLINE">PANGO_TYPE_UNDERLINE</a>
|
97
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-shape-new" title="pango_attr_shape_new ()">pango_attr_shape_new</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
98
104
|
<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
105
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()">pango_attr_shape_new_with_data</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
100
106
|
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
|
101
|
-
<em class="parameter"><code><
|
107
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
102
108
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
|
103
|
-
<em class="parameter"><code><
|
104
|
-
<
|
109
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);
|
110
|
+
<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> user_data</code></em>);
|
105
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-scale-new" title="pango_attr_scale_new ()">pango_attr_scale_new</a> (<em class="parameter"><code><span class="type">double</span> scale_factor</code></em>);
|
106
112
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-SMALL:CAPS" title="PANGO_SCALE_XX_SMALL">PANGO_SCALE_XX_SMALL</a>
|
107
113
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-SMALL:CAPS" title="PANGO_SCALE_X_SMALL">PANGO_SCALE_X_SMALL</a>
|
@@ -112,16 +118,16 @@ enum <a class="link" href="pango-Text-Attributes.html#PangoUnderl
|
|
112
118
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-LARGE:CAPS" title="PANGO_SCALE_XX_LARGE">PANGO_SCALE_XX_LARGE</a>
|
113
119
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-rise-new" title="pango_attr_rise_new ()">pango_attr_rise_new</a> (<em class="parameter"><code><span class="type">int</span> rise</code></em>);
|
114
120
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-letter-spacing-new" title="pango_attr_letter_spacing_new ()">pango_attr_letter_spacing_new</a> (<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);
|
115
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-fallback-new" title="pango_attr_fallback_new ()">pango_attr_fallback_new</a> (<em class="parameter"><code><
|
121
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-fallback-new" title="pango_attr_fallback_new ()">pango_attr_fallback_new</a> (<em class="parameter"><code><span class="type">gboolean</span> enable_fallback</code></em>);
|
116
122
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-new" title="pango_attr_gravity_new ()">pango_attr_gravity_new</a> (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
|
117
123
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-hint-new" title="pango_attr_gravity_hint_new ()">pango_attr_gravity_hint_new</a> (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);
|
118
124
|
struct <a class="link" href="pango-Text-Attributes.html#PangoColor-struct" title="struct PangoColor">PangoColor</a>;
|
119
125
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-COLOR:CAPS" title="PANGO_TYPE_COLOR">PANGO_TYPE_COLOR</a>
|
120
|
-
<
|
126
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-color-parse" title="pango_color_parse ()">pango_color_parse</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
121
127
|
<em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);
|
122
128
|
<a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="returnvalue">PangoColor</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()">pango_color_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *src</code></em>);
|
123
129
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()">pango_color_free</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
|
124
|
-
<
|
130
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="pango-Text-Attributes.html#pango-color-to-string" title="pango_color_to_string ()">pango_color_to_string</a> (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
|
125
131
|
|
126
132
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrList-struct" title="PangoAttrList">PangoAttrList</a>;
|
127
133
|
#define <a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-LIST:CAPS" title="PANGO_TYPE_ATTR_LIST">PANGO_TYPE_ATTR_LIST</a>
|
@@ -137,27 +143,27 @@ struct <a class="link" href="pango-Text-Attributes.html#PangoColor-
|
|
137
143
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);
|
138
144
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-list-splice" title="pango_attr_list_splice ()">pango_attr_list_splice</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
139
145
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
|
140
|
-
<em class="parameter"><code><
|
141
|
-
<em class="parameter"><code><
|
146
|
+
<em class="parameter"><code><span class="type">gint</span> pos</code></em>,
|
147
|
+
<em class="parameter"><code><span class="type">gint</span> len</code></em>);
|
142
148
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-filter" title="pango_attr_list_filter ()">pango_attr_list_filter</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
143
149
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
|
144
|
-
<em class="parameter"><code><
|
145
|
-
<
|
146
|
-
<em class="parameter"><code><
|
150
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
151
|
+
<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>,
|
152
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
147
153
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-list-get-iterator" title="pango_attr_list_get_iterator ()">pango_attr_list_get_iterator</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
148
154
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator">PangoAttrIterator</a>;
|
149
155
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="returnvalue">PangoAttrIterator</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-copy" title="pango_attr_iterator_copy ()">pango_attr_iterator_copy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
150
|
-
<
|
156
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-next" title="pango_attr_iterator_next ()">pango_attr_iterator_next</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
151
157
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-range" title="pango_attr_iterator_range ()">pango_attr_iterator_range</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
152
|
-
<em class="parameter"><code><
|
153
|
-
<em class="parameter"><code><
|
158
|
+
<em class="parameter"><code><span class="type">gint</span> *start</code></em>,
|
159
|
+
<em class="parameter"><code><span class="type">gint</span> *end</code></em>);
|
154
160
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get" title="pango_attr_iterator_get ()">pango_attr_iterator_get</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
155
161
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);
|
156
162
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-font" title="pango_attr_iterator_get_font ()">pango_attr_iterator_get_font</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
157
163
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
158
164
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
|
159
|
-
<em class="parameter"><code><
|
160
|
-
<
|
165
|
+
<em class="parameter"><code><span class="type">GSList</span> **extra_attrs</code></em>);
|
166
|
+
<span class="returnvalue">GSList</span> * <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-attrs" title="pango_attr_iterator_get_attrs ()">pango_attr_iterator_get_attrs</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
161
167
|
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()">pango_attr_iterator_destroy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);
|
162
168
|
</pre>
|
163
169
|
</div>
|
@@ -228,8 +234,11 @@ for custom attributes using <a class="link" href="pango-Text-Attributes.html#pan
|
|
228
234
|
values are given below. The type of structure used to store the
|
229
235
|
attribute is listed in parentheses after the description.
|
230
236
|
</p>
|
231
|
-
<div class="variablelist"><table border="0">
|
237
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
238
|
+
<colgroup>
|
232
239
|
<col align="left" valign="top">
|
240
|
+
<col>
|
241
|
+
</colgroup>
|
233
242
|
<tbody>
|
234
243
|
<tr>
|
235
244
|
<td><p><a name="PANGO-ATTR-INVALID:CAPS"></a><span class="term"><code class="literal">PANGO_ATTR_INVALID</code></span></p></td>
|
@@ -352,10 +361,10 @@ attribute is listed in parentheses after the description.
|
|
352
361
|
<hr>
|
353
362
|
<div class="refsect2">
|
354
363
|
<a name="PANGO-TYPE-ATTR-TYPE:CAPS"></a><h3>PANGO_TYPE_ATTR_TYPE</h3>
|
355
|
-
<pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
|
364
|
+
<pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type ())
|
356
365
|
</pre>
|
357
366
|
<p>
|
358
|
-
The <
|
367
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a>.
|
359
368
|
</p>
|
360
369
|
</div>
|
361
370
|
<hr>
|
@@ -374,8 +383,11 @@ a particular type of attribute. The functions in this structure should
|
|
374
383
|
not be called directly. Instead, one should use the wrapper functions
|
375
384
|
provided for <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>.
|
376
385
|
</p>
|
377
|
-
<div class="variablelist"><table border="0">
|
386
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
387
|
+
<colgroup>
|
378
388
|
<col align="left" valign="top">
|
389
|
+
<col>
|
390
|
+
</colgroup>
|
379
391
|
<tbody>
|
380
392
|
<tr>
|
381
393
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="type">PangoAttrType</span></a> <em class="structfield"><code><a name="PangoAttrClass.type"></a>type</code></em>;</span></p></td>
|
@@ -411,21 +423,24 @@ attributes. Particular types of attributes include this structure
|
|
411
423
|
as their initial portion. The common portion of the attribute holds
|
412
424
|
the range to which the value in the type-specific part of the attribute
|
413
425
|
applies and should be initialized using <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()"><code class="function">pango_attribute_init()</code></a>.
|
414
|
-
By default an attribute will have an all-inclusive range of [0,<
|
426
|
+
By default an attribute will have an all-inclusive range of [0,<code class="literal">G_MAXUINT</code>].
|
415
427
|
</p>
|
416
|
-
<div class="variablelist"><table border="0">
|
428
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
429
|
+
<colgroup>
|
417
430
|
<col align="left" valign="top">
|
431
|
+
<col>
|
432
|
+
</colgroup>
|
418
433
|
<tbody>
|
419
434
|
<tr>
|
420
435
|
<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>
|
421
436
|
<td>the class structure holding information about the type of the attribute</td>
|
422
437
|
</tr>
|
423
438
|
<tr>
|
424
|
-
<td><p><span class="term"><
|
439
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttribute.start-index"></a>start_index</code></em>;</span></p></td>
|
425
440
|
<td>the start index of the range (in bytes).</td>
|
426
441
|
</tr>
|
427
442
|
<tr>
|
428
|
-
<td><p><span class="term"><
|
443
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttribute.end-index"></a>end_index</code></em>;</span></p></td>
|
429
444
|
<td>end index of the range (in bytes). The character at this index
|
430
445
|
is not included in the range.</td>
|
431
446
|
</tr>
|
@@ -464,8 +479,11 @@ Since: 1.24</div>
|
|
464
479
|
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
|
465
480
|
a string value.
|
466
481
|
</p>
|
467
|
-
<div class="variablelist"><table border="0">
|
482
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
483
|
+
<colgroup>
|
468
484
|
<col align="left" valign="top">
|
485
|
+
<col>
|
486
|
+
</colgroup>
|
469
487
|
<tbody>
|
470
488
|
<tr>
|
471
489
|
<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>
|
@@ -490,8 +508,11 @@ a string value.
|
|
490
508
|
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
|
491
509
|
are languages.
|
492
510
|
</p>
|
493
|
-
<div class="variablelist"><table border="0">
|
511
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
512
|
+
<colgroup>
|
494
513
|
<col align="left" valign="top">
|
514
|
+
<col>
|
515
|
+
</colgroup>
|
495
516
|
<tbody>
|
496
517
|
<tr>
|
497
518
|
<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>
|
@@ -516,8 +537,11 @@ are languages.
|
|
516
537
|
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
|
517
538
|
are colors.
|
518
539
|
</p>
|
519
|
-
<div class="variablelist"><table border="0">
|
540
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
541
|
+
<colgroup>
|
520
542
|
<col align="left" valign="top">
|
543
|
+
<col>
|
544
|
+
</colgroup>
|
521
545
|
<tbody>
|
522
546
|
<tr>
|
523
547
|
<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>
|
@@ -542,8 +566,11 @@ are colors.
|
|
542
566
|
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
|
543
567
|
an integer or enumeration value.
|
544
568
|
</p>
|
545
|
-
<div class="variablelist"><table border="0">
|
569
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
570
|
+
<colgroup>
|
546
571
|
<col align="left" valign="top">
|
572
|
+
<col>
|
573
|
+
</colgroup>
|
547
574
|
<tbody>
|
548
575
|
<tr>
|
549
576
|
<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>
|
@@ -568,8 +595,11 @@ an integer or enumeration value.
|
|
568
595
|
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
|
569
596
|
a float or double value.
|
570
597
|
</p>
|
571
|
-
<div class="variablelist"><table border="0">
|
598
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
599
|
+
<colgroup>
|
572
600
|
<col align="left" valign="top">
|
601
|
+
<col>
|
602
|
+
</colgroup>
|
573
603
|
<tbody>
|
574
604
|
<tr>
|
575
605
|
<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>
|
@@ -594,8 +624,11 @@ a float or double value.
|
|
594
624
|
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
|
595
625
|
sets all aspects of the font description at once.
|
596
626
|
</p>
|
597
|
-
<div class="variablelist"><table border="0">
|
627
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
628
|
+
<colgroup>
|
598
629
|
<col align="left" valign="top">
|
630
|
+
<col>
|
631
|
+
</colgroup>
|
599
632
|
<tbody>
|
600
633
|
<tr>
|
601
634
|
<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>
|
@@ -625,8 +658,11 @@ sets all aspects of the font description at once.
|
|
625
658
|
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
|
626
659
|
impose shape restrictions.
|
627
660
|
</p>
|
628
|
-
<div class="variablelist"><table border="0">
|
661
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
662
|
+
<colgroup>
|
629
663
|
<col align="left" valign="top">
|
664
|
+
<col>
|
665
|
+
</colgroup>
|
630
666
|
<tbody>
|
631
667
|
<tr>
|
632
668
|
<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>
|
@@ -641,7 +677,7 @@ impose shape restrictions.
|
|
641
677
|
<td>the logical rectangle to restrict to</td>
|
642
678
|
</tr>
|
643
679
|
<tr>
|
644
|
-
<td><p><span class="term"><
|
680
|
+
<td><p><span class="term"><span class="type">gpointer</span> <em class="structfield"><code><a name="PangoAttrShape.data"></a>data</code></em>;</span></p></td>
|
645
681
|
<td>user data set (see <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()"><code class="function">pango_attr_shape_new_with_data()</code></a>)</td>
|
646
682
|
</tr>
|
647
683
|
<tr>
|
@@ -649,7 +685,7 @@ impose shape restrictions.
|
|
649
685
|
<td>copy function for the user data</td>
|
650
686
|
</tr>
|
651
687
|
<tr>
|
652
|
-
<td><p><span class="term"><
|
688
|
+
<td><p><span class="term"><span class="type">GDestroyNotify</span> <em class="structfield"><code><a name="PangoAttrShape.destroy-func"></a>destroy_func</code></em>;</span></p></td>
|
653
689
|
<td>destroy function for the user data</td>
|
654
690
|
</tr>
|
655
691
|
</tbody>
|
@@ -668,8 +704,11 @@ impose shape restrictions.
|
|
668
704
|
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
|
669
705
|
set font size.
|
670
706
|
</p>
|
671
|
-
<div class="variablelist"><table border="0">
|
707
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
708
|
+
<colgroup>
|
672
709
|
<col align="left" valign="top">
|
710
|
+
<col>
|
711
|
+
</colgroup>
|
673
712
|
<tbody>
|
674
713
|
<tr>
|
675
714
|
<td><p><span class="term"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> <em class="structfield"><code><a name="PangoAttrSize.attr"></a>attr</code></em>;</span></p></td>
|
@@ -681,11 +720,11 @@ set font size.
|
|
681
720
|
<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a>) or of a device uni (for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>)</td>
|
682
721
|
</tr>
|
683
722
|
<tr>
|
684
|
-
<td><p><span class="term"><
|
723
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoAttrSize.absolute"></a>absolute</code></em> : 1;</span></p></td>
|
685
724
|
<td>whether the font size is in device units or points.
|
686
725
|
This field is only present for compatibility with Pango-1.8.0
|
687
726
|
(<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a> was added in 1.8.1); and always will
|
688
|
-
be <
|
727
|
+
be <code class="literal">FALSE</code> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a> and <code class="literal">TRUE</code> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>.</td>
|
689
728
|
</tr>
|
690
729
|
</tbody>
|
691
730
|
</table></div>
|
@@ -693,16 +732,16 @@ be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.ht
|
|
693
732
|
<hr>
|
694
733
|
<div class="refsect2">
|
695
734
|
<a name="pango-parse-markup"></a><h3>pango_parse_markup ()</h3>
|
696
|
-
<pre class="programlisting"><
|
735
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_markup (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
|
697
736
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
698
|
-
<em class="parameter"><code><
|
737
|
+
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
699
738
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
700
739
|
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
|
701
|
-
<em class="parameter"><code><
|
702
|
-
<em class="parameter"><code><
|
740
|
+
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
|
741
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
703
742
|
<p>
|
704
743
|
Parses marked-up text (see
|
705
|
-
<a
|
744
|
+
<a href="PangoMarkupFormat.html">markup format</a>) to create
|
706
745
|
a plain-text string and an attribute list.
|
707
746
|
</p>
|
708
747
|
<p>
|
@@ -715,15 +754,21 @@ Two <em class="parameter"><code>accel_marker</code></em> characters following ea
|
|
715
754
|
literal <em class="parameter"><code>accel_marker</code></em> character.
|
716
755
|
</p>
|
717
756
|
<p>
|
757
|
+
To parse a stream of pango markup incrementally, use <a class="link" href="pango-Text-Attributes.html#pango-markup-parser-new" title="pango_markup_parser_new ()"><code class="function">pango_markup_parser_new()</code></a>.
|
758
|
+
</p>
|
759
|
+
<p>
|
718
760
|
If any error happens, none of the output arguments are touched except
|
719
761
|
for <em class="parameter"><code>error</code></em>.
|
720
762
|
</p>
|
721
|
-
<div class="variablelist"><table border="0">
|
763
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
764
|
+
<colgroup>
|
722
765
|
<col align="left" valign="top">
|
766
|
+
<col>
|
767
|
+
</colgroup>
|
723
768
|
<tbody>
|
724
769
|
<tr>
|
725
770
|
<td><p><span class="term"><em class="parameter"><code>markup_text</code></em> :</span></p></td>
|
726
|
-
<td>markup to parse (see <a
|
771
|
+
<td>markup to parse (see <a href="PangoMarkupFormat.html">markup format</a>)</td>
|
727
772
|
</tr>
|
728
773
|
<tr>
|
729
774
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
@@ -735,43 +780,150 @@ for <em class="parameter"><code>error</code></em>.
|
|
735
780
|
</tr>
|
736
781
|
<tr>
|
737
782
|
<td><p><span class="term"><em class="parameter"><code>attr_list</code></em> :</span></p></td>
|
738
|
-
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/
|
783
|
+
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
784
|
+
</td>
|
785
|
+
</tr>
|
786
|
+
<tr>
|
787
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
788
|
+
<td>address of return location for text with tags stripped, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
789
|
+
</td>
|
790
|
+
</tr>
|
791
|
+
<tr>
|
792
|
+
<td><p><span class="term"><em class="parameter"><code>accel_char</code></em> :</span></p></td>
|
793
|
+
<td>address of return location for accelerator char, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
794
|
+
</td>
|
795
|
+
</tr>
|
796
|
+
<tr>
|
797
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
798
|
+
<td>address of return location for errors, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
799
|
+
</td>
|
800
|
+
</tr>
|
801
|
+
<tr>
|
802
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
803
|
+
<td>
|
804
|
+
<code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> is set, otherwise <code class="literal">TRUE</code>
|
805
|
+
</td>
|
806
|
+
</tr>
|
807
|
+
</tbody>
|
808
|
+
</table></div>
|
809
|
+
</div>
|
810
|
+
<hr>
|
811
|
+
<div class="refsect2">
|
812
|
+
<a name="pango-markup-parser-new"></a><h3>pango_markup_parser_new ()</h3>
|
813
|
+
<pre class="programlisting"><span class="returnvalue">GMarkupParseContext</span> * pango_markup_parser_new (<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>);</pre>
|
814
|
+
<p>
|
815
|
+
Parses marked-up text (see
|
816
|
+
<a href="PangoMarkupFormat.html">markup format</a>) to create
|
817
|
+
a plain-text string and an attribute list.
|
818
|
+
</p>
|
819
|
+
<p>
|
820
|
+
If <em class="parameter"><code>accel_marker</code></em> is nonzero, the given character will mark the
|
821
|
+
character following it as an accelerator. For example, <em class="parameter"><code>accel_marker</code></em>
|
822
|
+
might be an ampersand or underscore. All characters marked
|
823
|
+
as an accelerator will receive a <a class="link" href="pango-Text-Attributes.html#PANGO-UNDERLINE-LOW:CAPS"><code class="literal">PANGO_UNDERLINE_LOW</code></a> attribute,
|
824
|
+
and the first character so marked will be returned in <em class="parameter"><code>accel_char</code></em>,
|
825
|
+
when calling <code class="function">finish()</code>. Two <em class="parameter"><code>accel_marker</code></em> characters following each
|
826
|
+
other produce a single literal <em class="parameter"><code>accel_marker</code></em> character.
|
827
|
+
</p>
|
828
|
+
<p>
|
829
|
+
To feed markup to the parser, use <code class="function">g_markup_parse_context_parse()</code>
|
830
|
+
on the returned <span class="type">GMarkupParseContext</span>. When done with feeding markup
|
831
|
+
to the parser, use <a class="link" href="pango-Text-Attributes.html#pango-markup-parser-finish" title="pango_markup_parser_finish ()"><code class="function">pango_markup_parser_finish()</code></a> to get the data out
|
832
|
+
of it, and then use <code class="function">g_markup_parse_context_free()</code> to free it.
|
833
|
+
</p>
|
834
|
+
<p>
|
835
|
+
This function is designed for applications that read pango markup
|
836
|
+
from streams. To simply parse a string containing pango markup,
|
837
|
+
the simpler <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()"><code class="function">pango_parse_markup()</code></a> API is recommended instead.
|
838
|
+
</p>
|
839
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
840
|
+
<colgroup>
|
841
|
+
<col align="left" valign="top">
|
842
|
+
<col>
|
843
|
+
</colgroup>
|
844
|
+
<tbody>
|
845
|
+
<tr>
|
846
|
+
<td><p><span class="term"><em class="parameter"><code>accel_marker</code></em> :</span></p></td>
|
847
|
+
<td>character that precedes an accelerator, or 0 for none</td>
|
848
|
+
</tr>
|
849
|
+
<tr>
|
850
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
851
|
+
<td>a <span class="type">GMarkupParseContext</span> that should be
|
852
|
+
destroyed with <code class="function">g_markup_parse_context_free()</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
853
|
+
</td>
|
854
|
+
</tr>
|
855
|
+
</tbody>
|
856
|
+
</table></div>
|
857
|
+
<p class="since">Since 1.31.0</p>
|
858
|
+
</div>
|
859
|
+
<hr>
|
860
|
+
<div class="refsect2">
|
861
|
+
<a name="pango-markup-parser-finish"></a><h3>pango_markup_parser_finish ()</h3>
|
862
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_markup_parser_finish (<em class="parameter"><code><span class="type">GMarkupParseContext</span> *context</code></em>,
|
863
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
864
|
+
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
|
865
|
+
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>,
|
866
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
867
|
+
<p>
|
868
|
+
After feeding a pango markup parser some data with <code class="function">g_markup_parse_context_parse()</code>,
|
869
|
+
use this function to get the list of pango attributes and text out of the
|
870
|
+
markup. This function will not free <em class="parameter"><code>context</code></em>, use <code class="function">g_markup_parse_context_free()</code>
|
871
|
+
to do so.
|
872
|
+
</p>
|
873
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
874
|
+
<colgroup>
|
875
|
+
<col align="left" valign="top">
|
876
|
+
<col>
|
877
|
+
</colgroup>
|
878
|
+
<tbody>
|
879
|
+
<tr>
|
880
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
881
|
+
<td>A valid parse context that was returned from <a class="link" href="pango-Text-Attributes.html#pango-markup-parser-new" title="pango_markup_parser_new ()"><code class="function">pango_markup_parser_new()</code></a>
|
882
|
+
</td>
|
883
|
+
</tr>
|
884
|
+
<tr>
|
885
|
+
<td><p><span class="term"><em class="parameter"><code>attr_list</code></em> :</span></p></td>
|
886
|
+
<td>address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
739
887
|
</td>
|
740
888
|
</tr>
|
741
889
|
<tr>
|
742
890
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
743
|
-
<td>address of return location for text with tags stripped, or <a href="/
|
891
|
+
<td>address of return location for text with tags stripped, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
744
892
|
</td>
|
745
893
|
</tr>
|
746
894
|
<tr>
|
747
895
|
<td><p><span class="term"><em class="parameter"><code>accel_char</code></em> :</span></p></td>
|
748
|
-
<td>address of return location for accelerator char, or <a href="/
|
896
|
+
<td>address of return location for accelerator char, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
749
897
|
</td>
|
750
898
|
</tr>
|
751
899
|
<tr>
|
752
900
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
753
|
-
<td>address of return location for errors, or <a href="/
|
901
|
+
<td>address of return location for errors, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
754
902
|
</td>
|
755
903
|
</tr>
|
756
904
|
<tr>
|
757
905
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
758
906
|
<td>
|
759
|
-
<
|
907
|
+
<code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> is set, otherwise <code class="literal">TRUE</code>
|
760
908
|
</td>
|
761
909
|
</tr>
|
762
910
|
</tbody>
|
763
911
|
</table></div>
|
912
|
+
<p class="since">Since 1.31.0</p>
|
764
913
|
</div>
|
765
914
|
<hr>
|
766
915
|
<div class="refsect2">
|
767
916
|
<a name="pango-attr-type-register"></a><h3>pango_attr_type_register ()</h3>
|
768
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> pango_attr_type_register (<em class="parameter"><code>const <
|
917
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType"><span class="returnvalue">PangoAttrType</span></a> pango_attr_type_register (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
769
918
|
<p>
|
770
919
|
Allocate a new attribute type ID. The attribute type name can be accessed
|
771
920
|
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>.
|
772
921
|
</p>
|
773
|
-
<div class="variablelist"><table border="0">
|
922
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
923
|
+
<colgroup>
|
774
924
|
<col align="left" valign="top">
|
925
|
+
<col>
|
926
|
+
</colgroup>
|
775
927
|
<tbody>
|
776
928
|
<tr>
|
777
929
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
@@ -793,11 +945,14 @@ Fetches the attribute type name passed in when registering the type using
|
|
793
945
|
<a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()"><code class="function">pango_attr_type_register()</code></a>.
|
794
946
|
</p>
|
795
947
|
<p>
|
796
|
-
The returned value is an interned string (see <
|
948
|
+
The returned value is an interned string (see <code class="function">g_intern_string()</code> for what
|
797
949
|
that means) that should not be modified or freed.
|
798
950
|
</p>
|
799
|
-
<div class="variablelist"><table border="0">
|
951
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
952
|
+
<colgroup>
|
800
953
|
<col align="left" valign="top">
|
954
|
+
<col>
|
955
|
+
</colgroup>
|
801
956
|
<tbody>
|
802
957
|
<tr>
|
803
958
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
@@ -805,7 +960,7 @@ that means) that should not be modified or freed.
|
|
805
960
|
</tr>
|
806
961
|
<tr>
|
807
962
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
808
|
-
<td>the type ID name (which may be <a href="/
|
963
|
+
<td>the type ID name (which may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>), or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>type</code></em> is
|
809
964
|
a built-in Pango attribute type or invalid.</td>
|
810
965
|
</tr>
|
811
966
|
</tbody>
|
@@ -824,8 +979,11 @@ and end_index to <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-IND
|
|
824
979
|
such that the attribute applies
|
825
980
|
to the entire text by default.
|
826
981
|
</p>
|
827
|
-
<div class="variablelist"><table border="0">
|
982
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
983
|
+
<colgroup>
|
828
984
|
<col align="left" valign="top">
|
985
|
+
<col>
|
986
|
+
</colgroup>
|
829
987
|
<tbody>
|
830
988
|
<tr>
|
831
989
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
@@ -848,8 +1006,11 @@ to the entire text by default.
|
|
848
1006
|
<p>
|
849
1007
|
Make a copy of an attribute.
|
850
1008
|
</p>
|
851
|
-
<div class="variablelist"><table border="0">
|
1009
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1010
|
+
<colgroup>
|
852
1011
|
<col align="left" valign="top">
|
1012
|
+
<col>
|
1013
|
+
</colgroup>
|
853
1014
|
<tbody>
|
854
1015
|
<tr>
|
855
1016
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
@@ -858,8 +1019,9 @@ Make a copy of an attribute.
|
|
858
1019
|
</tr>
|
859
1020
|
<tr>
|
860
1021
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
861
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
862
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1022
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1023
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1024
|
+
</td>
|
863
1025
|
</tr>
|
864
1026
|
</tbody>
|
865
1027
|
</table></div>
|
@@ -867,15 +1029,18 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
867
1029
|
<hr>
|
868
1030
|
<div class="refsect2">
|
869
1031
|
<a name="pango-attribute-equal"></a><h3>pango_attribute_equal ()</h3>
|
870
|
-
<pre class="programlisting"><
|
1032
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_attribute_equal (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
|
871
1033
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);</pre>
|
872
1034
|
<p>
|
873
1035
|
Compare two attributes for equality. This compares only the
|
874
1036
|
actual value of the two attributes and not the ranges that the
|
875
1037
|
attributes apply to.
|
876
1038
|
</p>
|
877
|
-
<div class="variablelist"><table border="0">
|
1039
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1040
|
+
<colgroup>
|
878
1041
|
<col align="left" valign="top">
|
1042
|
+
<col>
|
1043
|
+
</colgroup>
|
879
1044
|
<tbody>
|
880
1045
|
<tr>
|
881
1046
|
<td><p><span class="term"><em class="parameter"><code>attr1</code></em> :</span></p></td>
|
@@ -890,7 +1055,7 @@ attributes apply to.
|
|
890
1055
|
<tr>
|
891
1056
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
892
1057
|
<td>
|
893
|
-
<
|
1058
|
+
<code class="literal">TRUE</code> if the two attributes have the same value.</td>
|
894
1059
|
</tr>
|
895
1060
|
</tbody>
|
896
1061
|
</table></div>
|
@@ -902,8 +1067,11 @@ attributes apply to.
|
|
902
1067
|
<p>
|
903
1068
|
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.
|
904
1069
|
</p>
|
905
|
-
<div class="variablelist"><table border="0">
|
1070
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1071
|
+
<colgroup>
|
906
1072
|
<col align="left" valign="top">
|
1073
|
+
<col>
|
1074
|
+
</colgroup>
|
907
1075
|
<tbody><tr>
|
908
1076
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
909
1077
|
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>.</td>
|
@@ -917,8 +1085,11 @@ Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title
|
|
917
1085
|
<p>
|
918
1086
|
Create a new language tag attribute.
|
919
1087
|
</p>
|
920
|
-
<div class="variablelist"><table border="0">
|
1088
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1089
|
+
<colgroup>
|
921
1090
|
<col align="left" valign="top">
|
1091
|
+
<col>
|
1092
|
+
</colgroup>
|
922
1093
|
<tbody>
|
923
1094
|
<tr>
|
924
1095
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
@@ -926,8 +1097,9 @@ Create a new language tag attribute.
|
|
926
1097
|
</tr>
|
927
1098
|
<tr>
|
928
1099
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
929
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
930
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1100
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1101
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1102
|
+
</td>
|
931
1103
|
</tr>
|
932
1104
|
</tbody>
|
933
1105
|
</table></div>
|
@@ -939,8 +1111,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
939
1111
|
<p>
|
940
1112
|
Create a new font family attribute.
|
941
1113
|
</p>
|
942
|
-
<div class="variablelist"><table border="0">
|
1114
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1115
|
+
<colgroup>
|
943
1116
|
<col align="left" valign="top">
|
1117
|
+
<col>
|
1118
|
+
</colgroup>
|
944
1119
|
<tbody>
|
945
1120
|
<tr>
|
946
1121
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
@@ -948,8 +1123,9 @@ Create a new font family attribute.
|
|
948
1123
|
</tr>
|
949
1124
|
<tr>
|
950
1125
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
951
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
952
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1126
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1127
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1128
|
+
</td>
|
953
1129
|
</tr>
|
954
1130
|
</tbody>
|
955
1131
|
</table></div>
|
@@ -961,8 +1137,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
961
1137
|
<p>
|
962
1138
|
Create a new font slant style attribute.
|
963
1139
|
</p>
|
964
|
-
<div class="variablelist"><table border="0">
|
1140
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1141
|
+
<colgroup>
|
965
1142
|
<col align="left" valign="top">
|
1143
|
+
<col>
|
1144
|
+
</colgroup>
|
966
1145
|
<tbody>
|
967
1146
|
<tr>
|
968
1147
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
@@ -970,8 +1149,9 @@ Create a new font slant style attribute.
|
|
970
1149
|
</tr>
|
971
1150
|
<tr>
|
972
1151
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
973
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
974
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1152
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1153
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1154
|
+
</td>
|
975
1155
|
</tr>
|
976
1156
|
</tbody>
|
977
1157
|
</table></div>
|
@@ -983,8 +1163,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
983
1163
|
<p>
|
984
1164
|
Create a new font variant attribute (normal or small caps)
|
985
1165
|
</p>
|
986
|
-
<div class="variablelist"><table border="0">
|
1166
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1167
|
+
<colgroup>
|
987
1168
|
<col align="left" valign="top">
|
1169
|
+
<col>
|
1170
|
+
</colgroup>
|
988
1171
|
<tbody>
|
989
1172
|
<tr>
|
990
1173
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
@@ -992,8 +1175,9 @@ Create a new font variant attribute (normal or small caps)
|
|
992
1175
|
</tr>
|
993
1176
|
<tr>
|
994
1177
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
995
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
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
|
1178
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1179
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1180
|
+
</td>
|
997
1181
|
</tr>
|
998
1182
|
</tbody>
|
999
1183
|
</table></div>
|
@@ -1005,8 +1189,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1005
1189
|
<p>
|
1006
1190
|
Create a new font stretch attribute
|
1007
1191
|
</p>
|
1008
|
-
<div class="variablelist"><table border="0">
|
1192
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1193
|
+
<colgroup>
|
1009
1194
|
<col align="left" valign="top">
|
1195
|
+
<col>
|
1196
|
+
</colgroup>
|
1010
1197
|
<tbody>
|
1011
1198
|
<tr>
|
1012
1199
|
<td><p><span class="term"><em class="parameter"><code>stretch</code></em> :</span></p></td>
|
@@ -1014,8 +1201,9 @@ Create a new font stretch attribute
|
|
1014
1201
|
</tr>
|
1015
1202
|
<tr>
|
1016
1203
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1017
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1018
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1204
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1205
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1206
|
+
</td>
|
1019
1207
|
</tr>
|
1020
1208
|
</tbody>
|
1021
1209
|
</table></div>
|
@@ -1027,8 +1215,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1027
1215
|
<p>
|
1028
1216
|
Create a new font weight attribute.
|
1029
1217
|
</p>
|
1030
|
-
<div class="variablelist"><table border="0">
|
1218
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1219
|
+
<colgroup>
|
1031
1220
|
<col align="left" valign="top">
|
1221
|
+
<col>
|
1222
|
+
</colgroup>
|
1032
1223
|
<tbody>
|
1033
1224
|
<tr>
|
1034
1225
|
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
@@ -1036,8 +1227,9 @@ Create a new font weight attribute.
|
|
1036
1227
|
</tr>
|
1037
1228
|
<tr>
|
1038
1229
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1039
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1040
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1230
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1231
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1232
|
+
</td>
|
1041
1233
|
</tr>
|
1042
1234
|
</tbody>
|
1043
1235
|
</table></div>
|
@@ -1049,8 +1241,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1049
1241
|
<p>
|
1050
1242
|
Create a new font-size attribute in fractional points.
|
1051
1243
|
</p>
|
1052
|
-
<div class="variablelist"><table border="0">
|
1244
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1245
|
+
<colgroup>
|
1053
1246
|
<col align="left" valign="top">
|
1247
|
+
<col>
|
1248
|
+
</colgroup>
|
1054
1249
|
<tbody>
|
1055
1250
|
<tr>
|
1056
1251
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
@@ -1058,8 +1253,9 @@ Create a new font-size attribute in fractional points.
|
|
1058
1253
|
</tr>
|
1059
1254
|
<tr>
|
1060
1255
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1061
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1062
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1256
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1257
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1258
|
+
</td>
|
1063
1259
|
</tr>
|
1064
1260
|
</tbody>
|
1065
1261
|
</table></div>
|
@@ -1071,8 +1267,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1071
1267
|
<p>
|
1072
1268
|
Create a new font-size attribute in device units.
|
1073
1269
|
</p>
|
1074
|
-
<div class="variablelist"><table border="0">
|
1270
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1271
|
+
<colgroup>
|
1075
1272
|
<col align="left" valign="top">
|
1273
|
+
<col>
|
1274
|
+
</colgroup>
|
1076
1275
|
<tbody>
|
1077
1276
|
<tr>
|
1078
1277
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
@@ -1096,8 +1295,11 @@ Create a new font description attribute. This attribute
|
|
1096
1295
|
allows setting family, style, weight, variant, stretch,
|
1097
1296
|
and size simultaneously.
|
1098
1297
|
</p>
|
1099
|
-
<div class="variablelist"><table border="0">
|
1298
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1299
|
+
<colgroup>
|
1100
1300
|
<col align="left" valign="top">
|
1301
|
+
<col>
|
1302
|
+
</colgroup>
|
1101
1303
|
<tbody>
|
1102
1304
|
<tr>
|
1103
1305
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1105,8 +1307,9 @@ and size simultaneously.
|
|
1105
1307
|
</tr>
|
1106
1308
|
<tr>
|
1107
1309
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1108
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1109
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1310
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1311
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1312
|
+
</td>
|
1110
1313
|
</tr>
|
1111
1314
|
</tbody>
|
1112
1315
|
</table></div>
|
@@ -1114,14 +1317,17 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1114
1317
|
<hr>
|
1115
1318
|
<div class="refsect2">
|
1116
1319
|
<a name="pango-attr-foreground-new"></a><h3>pango_attr_foreground_new ()</h3>
|
1117
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_foreground_new (<em class="parameter"><code><
|
1118
|
-
<em class="parameter"><code><
|
1119
|
-
<em class="parameter"><code><
|
1320
|
+
<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>,
|
1321
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
1322
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
|
1120
1323
|
<p>
|
1121
1324
|
Create a new foreground color attribute.
|
1122
1325
|
</p>
|
1123
|
-
<div class="variablelist"><table border="0">
|
1326
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1327
|
+
<colgroup>
|
1124
1328
|
<col align="left" valign="top">
|
1329
|
+
<col>
|
1330
|
+
</colgroup>
|
1125
1331
|
<tbody>
|
1126
1332
|
<tr>
|
1127
1333
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
@@ -1137,8 +1343,9 @@ Create a new foreground color attribute.
|
|
1137
1343
|
</tr>
|
1138
1344
|
<tr>
|
1139
1345
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1140
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1141
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1346
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1347
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1348
|
+
</td>
|
1142
1349
|
</tr>
|
1143
1350
|
</tbody>
|
1144
1351
|
</table></div>
|
@@ -1146,14 +1353,17 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1146
1353
|
<hr>
|
1147
1354
|
<div class="refsect2">
|
1148
1355
|
<a name="pango-attr-background-new"></a><h3>pango_attr_background_new ()</h3>
|
1149
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_background_new (<em class="parameter"><code><
|
1150
|
-
<em class="parameter"><code><
|
1151
|
-
<em class="parameter"><code><
|
1356
|
+
<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>,
|
1357
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
1358
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
|
1152
1359
|
<p>
|
1153
1360
|
Create a new background color attribute.
|
1154
1361
|
</p>
|
1155
|
-
<div class="variablelist"><table border="0">
|
1362
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1363
|
+
<colgroup>
|
1156
1364
|
<col align="left" valign="top">
|
1365
|
+
<col>
|
1366
|
+
</colgroup>
|
1157
1367
|
<tbody>
|
1158
1368
|
<tr>
|
1159
1369
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
@@ -1169,8 +1379,9 @@ Create a new background color attribute.
|
|
1169
1379
|
</tr>
|
1170
1380
|
<tr>
|
1171
1381
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1172
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1173
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1382
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1383
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1384
|
+
</td>
|
1174
1385
|
</tr>
|
1175
1386
|
</tbody>
|
1176
1387
|
</table></div>
|
@@ -1178,22 +1389,26 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1178
1389
|
<hr>
|
1179
1390
|
<div class="refsect2">
|
1180
1391
|
<a name="pango-attr-strikethrough-new"></a><h3>pango_attr_strikethrough_new ()</h3>
|
1181
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_new (<em class="parameter"><code><
|
1392
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_new (<em class="parameter"><code><span class="type">gboolean</span> strikethrough</code></em>);</pre>
|
1182
1393
|
<p>
|
1183
1394
|
Create a new strike-through attribute.
|
1184
1395
|
</p>
|
1185
|
-
<div class="variablelist"><table border="0">
|
1396
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1397
|
+
<colgroup>
|
1186
1398
|
<col align="left" valign="top">
|
1399
|
+
<col>
|
1400
|
+
</colgroup>
|
1187
1401
|
<tbody>
|
1188
1402
|
<tr>
|
1189
1403
|
<td><p><span class="term"><em class="parameter"><code>strikethrough</code></em> :</span></p></td>
|
1190
1404
|
<td>
|
1191
|
-
<
|
1405
|
+
<code class="literal">TRUE</code> if the text should be struck-through.</td>
|
1192
1406
|
</tr>
|
1193
1407
|
<tr>
|
1194
1408
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1195
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1196
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1409
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1410
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1411
|
+
</td>
|
1197
1412
|
</tr>
|
1198
1413
|
</tbody>
|
1199
1414
|
</table></div>
|
@@ -1201,16 +1416,19 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1201
1416
|
<hr>
|
1202
1417
|
<div class="refsect2">
|
1203
1418
|
<a name="pango-attr-strikethrough-color-new"></a><h3>pango_attr_strikethrough_color_new ()</h3>
|
1204
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_strikethrough_color_new (<em class="parameter"><code><
|
1205
|
-
<em class="parameter"><code><
|
1206
|
-
<em class="parameter"><code><
|
1419
|
+
<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>,
|
1420
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
1421
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
|
1207
1422
|
<p>
|
1208
1423
|
Create a new strikethrough color attribute. This attribute
|
1209
1424
|
modifies the color of strikethrough lines. If not set, strikethrough
|
1210
1425
|
lines will use the foreground color.
|
1211
1426
|
</p>
|
1212
|
-
<div class="variablelist"><table border="0">
|
1427
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1428
|
+
<colgroup>
|
1213
1429
|
<col align="left" valign="top">
|
1430
|
+
<col>
|
1431
|
+
</colgroup>
|
1214
1432
|
<tbody>
|
1215
1433
|
<tr>
|
1216
1434
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
@@ -1226,8 +1444,9 @@ lines will use the foreground color.
|
|
1226
1444
|
</tr>
|
1227
1445
|
<tr>
|
1228
1446
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1229
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1230
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1447
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1448
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1449
|
+
</td>
|
1231
1450
|
</tr>
|
1232
1451
|
</tbody>
|
1233
1452
|
</table></div>
|
@@ -1240,8 +1459,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1240
1459
|
<p>
|
1241
1460
|
Create a new underline-style attribute.
|
1242
1461
|
</p>
|
1243
|
-
<div class="variablelist"><table border="0">
|
1462
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1463
|
+
<colgroup>
|
1244
1464
|
<col align="left" valign="top">
|
1465
|
+
<col>
|
1466
|
+
</colgroup>
|
1245
1467
|
<tbody>
|
1246
1468
|
<tr>
|
1247
1469
|
<td><p><span class="term"><em class="parameter"><code>underline</code></em> :</span></p></td>
|
@@ -1249,8 +1471,9 @@ Create a new underline-style attribute.
|
|
1249
1471
|
</tr>
|
1250
1472
|
<tr>
|
1251
1473
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1252
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1253
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1474
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1475
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1476
|
+
</td>
|
1254
1477
|
</tr>
|
1255
1478
|
</tbody>
|
1256
1479
|
</table></div>
|
@@ -1258,16 +1481,19 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1258
1481
|
<hr>
|
1259
1482
|
<div class="refsect2">
|
1260
1483
|
<a name="pango-attr-underline-color-new"></a><h3>pango_attr_underline_color_new ()</h3>
|
1261
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_underline_color_new (<em class="parameter"><code><
|
1262
|
-
<em class="parameter"><code><
|
1263
|
-
<em class="parameter"><code><
|
1484
|
+
<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>,
|
1485
|
+
<em class="parameter"><code><span class="type">guint16</span> green</code></em>,
|
1486
|
+
<em class="parameter"><code><span class="type">guint16</span> blue</code></em>);</pre>
|
1264
1487
|
<p>
|
1265
1488
|
Create a new underline color attribute. This attribute
|
1266
1489
|
modifies the color of underlines. If not set, underlines
|
1267
1490
|
will use the foreground color.
|
1268
1491
|
</p>
|
1269
|
-
<div class="variablelist"><table border="0">
|
1492
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1493
|
+
<colgroup>
|
1270
1494
|
<col align="left" valign="top">
|
1495
|
+
<col>
|
1496
|
+
</colgroup>
|
1271
1497
|
<tbody>
|
1272
1498
|
<tr>
|
1273
1499
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
@@ -1283,8 +1509,9 @@ will use the foreground color.
|
|
1283
1509
|
</tr>
|
1284
1510
|
<tr>
|
1285
1511
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1286
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1287
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1512
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1513
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1514
|
+
</td>
|
1288
1515
|
</tr>
|
1289
1516
|
</tbody>
|
1290
1517
|
</table></div>
|
@@ -1306,8 +1533,11 @@ the <a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class
|
|
1306
1533
|
whether text should be underlined, and if so, the type
|
1307
1534
|
of underlining.
|
1308
1535
|
</p>
|
1309
|
-
<div class="variablelist"><table border="0">
|
1536
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1537
|
+
<colgroup>
|
1310
1538
|
<col align="left" valign="top">
|
1539
|
+
<col>
|
1540
|
+
</colgroup>
|
1311
1541
|
<tbody>
|
1312
1542
|
<tr>
|
1313
1543
|
<td><p><a name="PANGO-UNDERLINE-NONE:CAPS"></a><span class="term"><code class="literal">PANGO_UNDERLINE_NONE</code></span></p></td>
|
@@ -1350,10 +1580,10 @@ of underlining.
|
|
1350
1580
|
<hr>
|
1351
1581
|
<div class="refsect2">
|
1352
1582
|
<a name="PANGO-TYPE-UNDERLINE:CAPS"></a><h3>PANGO_TYPE_UNDERLINE</h3>
|
1353
|
-
<pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
|
1583
|
+
<pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type ())
|
1354
1584
|
</pre>
|
1355
1585
|
<p>
|
1356
|
-
The <
|
1586
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a>.
|
1357
1587
|
</p>
|
1358
1588
|
</div>
|
1359
1589
|
<hr>
|
@@ -1367,8 +1597,11 @@ particular ink and logical rectangle on the result of shaping a
|
|
1367
1597
|
particular glyph. This might be used, for instance, for
|
1368
1598
|
embedding a picture or a widget inside a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
|
1369
1599
|
</p>
|
1370
|
-
<div class="variablelist"><table border="0">
|
1600
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1601
|
+
<colgroup>
|
1371
1602
|
<col align="left" valign="top">
|
1603
|
+
<col>
|
1604
|
+
</colgroup>
|
1372
1605
|
<tbody>
|
1373
1606
|
<tr>
|
1374
1607
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
@@ -1380,8 +1613,9 @@ embedding a picture or a widget inside a <a class="link" href="pango-Layout-Obje
|
|
1380
1613
|
</tr>
|
1381
1614
|
<tr>
|
1382
1615
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1383
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1384
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1616
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1617
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1618
|
+
</td>
|
1385
1619
|
</tr>
|
1386
1620
|
</tbody>
|
1387
1621
|
</table></div>
|
@@ -1391,16 +1625,19 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1391
1625
|
<a name="pango-attr-shape-new-with-data"></a><h3>pango_attr_shape_new_with_data ()</h3>
|
1392
1626
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_shape_new_with_data (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
1393
1627
|
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
|
1394
|
-
<em class="parameter"><code><
|
1628
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
1395
1629
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
|
1396
|
-
<em class="parameter"><code><
|
1630
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy_func</code></em>);</pre>
|
1397
1631
|
<p>
|
1398
1632
|
Like <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()"><code class="function">pango_attr_shape_new()</code></a>, but a user data pointer is also
|
1399
1633
|
provided; this pointer can be accessed when later
|
1400
1634
|
rendering the glyph.
|
1401
1635
|
</p>
|
1402
|
-
<div class="variablelist"><table border="0">
|
1636
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1637
|
+
<colgroup>
|
1403
1638
|
<col align="left" valign="top">
|
1639
|
+
<col>
|
1640
|
+
</colgroup>
|
1404
1641
|
<tbody>
|
1405
1642
|
<tr>
|
1406
1643
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
@@ -1417,14 +1654,14 @@ rendering the glyph.
|
|
1417
1654
|
<tr>
|
1418
1655
|
<td><p><span class="term"><em class="parameter"><code>copy_func</code></em> :</span></p></td>
|
1419
1656
|
<td>function to copy <em class="parameter"><code>data</code></em> when the
|
1420
|
-
attribute is copied. If <a href="/
|
1421
|
-
copied as a pointer. <span class="annotation">[<
|
1657
|
+
attribute is copied. If <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>data</code></em> is simply
|
1658
|
+
copied as a pointer. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1422
1659
|
</td>
|
1423
1660
|
</tr>
|
1424
1661
|
<tr>
|
1425
1662
|
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
|
1426
1663
|
<td>function to free <em class="parameter"><code>data</code></em> when the
|
1427
|
-
attribute is freed, or <a href="/
|
1664
|
+
attribute is freed, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1428
1665
|
</td>
|
1429
1666
|
</tr>
|
1430
1667
|
<tr>
|
@@ -1439,21 +1676,27 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1439
1676
|
<hr>
|
1440
1677
|
<div class="refsect2">
|
1441
1678
|
<a name="PangoAttrDataCopyFunc"></a><h3>PangoAttrDataCopyFunc ()</h3>
|
1442
|
-
<pre class="programlisting"><
|
1679
|
+
<pre class="programlisting"><span class="returnvalue">gpointer</span> (*PangoAttrDataCopyFunc) (<em class="parameter"><code><span class="type">gconstpointer</span> user_data</code></em>);</pre>
|
1680
|
+
<p>
|
1681
|
+
Type of a function that can duplicate user data for an attribute.
|
1682
|
+
</p>
|
1443
1683
|
<p>
|
1444
1684
|
A copy function passed to attribute new functions that take
|
1445
1685
|
user data.
|
1446
1686
|
</p>
|
1447
|
-
<div class="variablelist"><table border="0">
|
1687
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1688
|
+
<colgroup>
|
1448
1689
|
<col align="left" valign="top">
|
1690
|
+
<col>
|
1691
|
+
</colgroup>
|
1449
1692
|
<tbody>
|
1450
1693
|
<tr>
|
1451
|
-
<td><p><span class="term"><em class="parameter"><code>
|
1452
|
-
<td>
|
1694
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1695
|
+
<td>user data to copy</td>
|
1453
1696
|
</tr>
|
1454
1697
|
<tr>
|
1455
1698
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1456
|
-
<td>
|
1699
|
+
<td>new copy of <em class="parameter"><code>user_data</code></em>.</td>
|
1457
1700
|
</tr>
|
1458
1701
|
</tbody>
|
1459
1702
|
</table></div>
|
@@ -1466,8 +1709,11 @@ user data.
|
|
1466
1709
|
Create a new font size scale attribute. The base font for the
|
1467
1710
|
affected text will have its size multiplied by <em class="parameter"><code>scale_factor</code></em>.
|
1468
1711
|
</p>
|
1469
|
-
<div class="variablelist"><table border="0">
|
1712
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1713
|
+
<colgroup>
|
1470
1714
|
<col align="left" valign="top">
|
1715
|
+
<col>
|
1716
|
+
</colgroup>
|
1471
1717
|
<tbody>
|
1472
1718
|
<tr>
|
1473
1719
|
<td><p><span class="term"><em class="parameter"><code>scale_factor</code></em> :</span></p></td>
|
@@ -1475,8 +1721,9 @@ affected text will have its size multiplied by <em class="parameter"><code>scale
|
|
1475
1721
|
</tr>
|
1476
1722
|
<tr>
|
1477
1723
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1478
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1479
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1724
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1725
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1726
|
+
</td>
|
1480
1727
|
</tr>
|
1481
1728
|
</tbody>
|
1482
1729
|
</table></div>
|
@@ -1551,8 +1798,11 @@ The scale factor for three magnification steps (1.2 * 1.2 * 1.2).
|
|
1551
1798
|
<p>
|
1552
1799
|
Create a new baseline displacement attribute.
|
1553
1800
|
</p>
|
1554
|
-
<div class="variablelist"><table border="0">
|
1801
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1802
|
+
<colgroup>
|
1555
1803
|
<col align="left" valign="top">
|
1804
|
+
<col>
|
1805
|
+
</colgroup>
|
1556
1806
|
<tbody>
|
1557
1807
|
<tr>
|
1558
1808
|
<td><p><span class="term"><em class="parameter"><code>rise</code></em> :</span></p></td>
|
@@ -1561,8 +1811,9 @@ in Pango units. Positive values displace the text upwards.</td>
|
|
1561
1811
|
</tr>
|
1562
1812
|
<tr>
|
1563
1813
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1564
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1565
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1814
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1815
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1816
|
+
</td>
|
1566
1817
|
</tr>
|
1567
1818
|
</tbody>
|
1568
1819
|
</table></div>
|
@@ -1574,8 +1825,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1574
1825
|
<p>
|
1575
1826
|
Create a new letter-spacing attribute.
|
1576
1827
|
</p>
|
1577
|
-
<div class="variablelist"><table border="0">
|
1828
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1829
|
+
<colgroup>
|
1578
1830
|
<col align="left" valign="top">
|
1831
|
+
<col>
|
1832
|
+
</colgroup>
|
1579
1833
|
<tbody>
|
1580
1834
|
<tr>
|
1581
1835
|
<td><p><span class="term"><em class="parameter"><code>letter_spacing</code></em> :</span></p></td>
|
@@ -1584,8 +1838,9 @@ of the text, in Pango units.</td>
|
|
1584
1838
|
</tr>
|
1585
1839
|
<tr>
|
1586
1840
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1587
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1588
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1841
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1842
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1843
|
+
</td>
|
1589
1844
|
</tr>
|
1590
1845
|
</tbody>
|
1591
1846
|
</table></div>
|
@@ -1594,7 +1849,7 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1594
1849
|
<hr>
|
1595
1850
|
<div class="refsect2">
|
1596
1851
|
<a name="pango-attr-fallback-new"></a><h3>pango_attr_fallback_new ()</h3>
|
1597
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_fallback_new (<em class="parameter"><code><
|
1852
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> * pango_attr_fallback_new (<em class="parameter"><code><span class="type">gboolean</span> enable_fallback</code></em>);</pre>
|
1598
1853
|
<p>
|
1599
1854
|
Create a new font fallback attribute.
|
1600
1855
|
</p>
|
@@ -1604,19 +1859,23 @@ closest matching font on the system. No fallback will be done to
|
|
1604
1859
|
other fonts on the system that might contain the characters in the
|
1605
1860
|
text.
|
1606
1861
|
</p>
|
1607
|
-
<div class="variablelist"><table border="0">
|
1862
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1863
|
+
<colgroup>
|
1608
1864
|
<col align="left" valign="top">
|
1865
|
+
<col>
|
1866
|
+
</colgroup>
|
1609
1867
|
<tbody>
|
1610
1868
|
<tr>
|
1611
1869
|
<td><p><span class="term"><em class="parameter"><code>enable_fallback</code></em> :</span></p></td>
|
1612
1870
|
<td>
|
1613
|
-
<
|
1871
|
+
<code class="literal">TRUE</code> if we should fall back on other fonts
|
1614
1872
|
for characters the active font is missing.</td>
|
1615
1873
|
</tr>
|
1616
1874
|
<tr>
|
1617
1875
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1618
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1619
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1876
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1877
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1878
|
+
</td>
|
1620
1879
|
</tr>
|
1621
1880
|
</tbody>
|
1622
1881
|
</table></div>
|
@@ -1629,8 +1888,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1629
1888
|
<p>
|
1630
1889
|
Create a new gravity attribute.
|
1631
1890
|
</p>
|
1632
|
-
<div class="variablelist"><table border="0">
|
1891
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1892
|
+
<colgroup>
|
1633
1893
|
<col align="left" valign="top">
|
1894
|
+
<col>
|
1895
|
+
</colgroup>
|
1634
1896
|
<tbody>
|
1635
1897
|
<tr>
|
1636
1898
|
<td><p><span class="term"><em class="parameter"><code>gravity</code></em> :</span></p></td>
|
@@ -1638,8 +1900,9 @@ Create a new gravity attribute.
|
|
1638
1900
|
</tr>
|
1639
1901
|
<tr>
|
1640
1902
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1641
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1642
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1903
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1904
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1905
|
+
</td>
|
1643
1906
|
</tr>
|
1644
1907
|
</tbody>
|
1645
1908
|
</table></div>
|
@@ -1652,8 +1915,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1652
1915
|
<p>
|
1653
1916
|
Create a new gravity hint attribute.
|
1654
1917
|
</p>
|
1655
|
-
<div class="variablelist"><table border="0">
|
1918
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1919
|
+
<colgroup>
|
1656
1920
|
<col align="left" valign="top">
|
1921
|
+
<col>
|
1922
|
+
</colgroup>
|
1657
1923
|
<tbody>
|
1658
1924
|
<tr>
|
1659
1925
|
<td><p><span class="term"><em class="parameter"><code>hint</code></em> :</span></p></td>
|
@@ -1661,8 +1927,9 @@ Create a new gravity hint attribute.
|
|
1661
1927
|
</tr>
|
1662
1928
|
<tr>
|
1663
1929
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1664
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1665
|
-
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a
|
1930
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1931
|
+
which should be 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1932
|
+
</td>
|
1666
1933
|
</tr>
|
1667
1934
|
</tbody>
|
1668
1935
|
</table></div>
|
@@ -1688,13 +1955,13 @@ represent a color in an uncalibrated RGB color-space.
|
|
1688
1955
|
<pre class="programlisting">#define PANGO_TYPE_COLOR pango_color_get_type ()
|
1689
1956
|
</pre>
|
1690
1957
|
<p>
|
1691
|
-
The <
|
1958
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>.
|
1692
1959
|
</p>
|
1693
1960
|
</div>
|
1694
1961
|
<hr>
|
1695
1962
|
<div class="refsect2">
|
1696
1963
|
<a name="pango-color-parse"></a><h3>pango_color_parse ()</h3>
|
1697
|
-
<pre class="programlisting"><
|
1964
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_color_parse (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
1698
1965
|
<em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);</pre>
|
1699
1966
|
<p>
|
1700
1967
|
Fill in the fields of a color from a string specification. The
|
@@ -1705,12 +1972,15 @@ form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where
|
|
1705
1972
|
components of the color, respectively. (White in the four
|
1706
1973
|
forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')
|
1707
1974
|
</p>
|
1708
|
-
<div class="variablelist"><table border="0">
|
1975
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1976
|
+
<colgroup>
|
1709
1977
|
<col align="left" valign="top">
|
1978
|
+
<col>
|
1979
|
+
</colgroup>
|
1710
1980
|
<tbody>
|
1711
1981
|
<tr>
|
1712
1982
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1713
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> structure in which to store the result, or <a href="/
|
1983
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> structure in which to store the result, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1714
1984
|
</td>
|
1715
1985
|
</tr>
|
1716
1986
|
<tr>
|
@@ -1720,7 +1990,7 @@ forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')
|
|
1720
1990
|
<tr>
|
1721
1991
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1722
1992
|
<td>
|
1723
|
-
<
|
1993
|
+
<code class="literal">TRUE</code> if parsing of the specifier succeeded,
|
1724
1994
|
otherwise false.</td>
|
1725
1995
|
</tr>
|
1726
1996
|
</tbody>
|
@@ -1736,19 +2006,22 @@ Creates a copy of <em class="parameter"><code>src</code></em>, which should be f
|
|
1736
2006
|
not that useful otherwise (since colors can just be copied
|
1737
2007
|
by assignment in C).
|
1738
2008
|
</p>
|
1739
|
-
<div class="variablelist"><table border="0">
|
2009
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2010
|
+
<colgroup>
|
1740
2011
|
<col align="left" valign="top">
|
2012
|
+
<col>
|
2013
|
+
</colgroup>
|
1741
2014
|
<tbody>
|
1742
2015
|
<tr>
|
1743
2016
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
1744
|
-
<td>color to copy, may be <a href="/
|
2017
|
+
<td>color to copy, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1745
2018
|
</td>
|
1746
2019
|
</tr>
|
1747
2020
|
<tr>
|
1748
2021
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1749
2022
|
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, which should
|
1750
|
-
be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="/
|
1751
|
-
if <em class="parameter"><code>src</code></em> was <a href="/
|
2023
|
+
be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2024
|
+
if <em class="parameter"><code>src</code></em> was <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
1752
2025
|
</tr>
|
1753
2026
|
</tbody>
|
1754
2027
|
</table></div>
|
@@ -1760,11 +2033,14 @@ if <em class="parameter"><code>src</code></em> was <a href="/usr/share/gtk-doc/h
|
|
1760
2033
|
<p>
|
1761
2034
|
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>.
|
1762
2035
|
</p>
|
1763
|
-
<div class="variablelist"><table border="0">
|
2036
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2037
|
+
<colgroup>
|
1764
2038
|
<col align="left" valign="top">
|
2039
|
+
<col>
|
2040
|
+
</colgroup>
|
1765
2041
|
<tbody><tr>
|
1766
2042
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1767
|
-
<td>an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, may be <a href="/
|
2043
|
+
<td>an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1768
2044
|
</td>
|
1769
2045
|
</tr></tbody>
|
1770
2046
|
</table></div>
|
@@ -1772,15 +2048,18 @@ Frees a color allocated by <a class="link" href="pango-Text-Attributes.html#pang
|
|
1772
2048
|
<hr>
|
1773
2049
|
<div class="refsect2">
|
1774
2050
|
<a name="pango-color-to-string"></a><h3>pango_color_to_string ()</h3>
|
1775
|
-
<pre class="programlisting"><
|
2051
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * pango_color_to_string (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
1776
2052
|
<p>
|
1777
2053
|
Returns a textual specification of <em class="parameter"><code>color</code></em> in the hexadecimal form
|
1778
2054
|
<code class="literal">#rrrrggggbbbb</code>, where <code class="literal">r</code>,
|
1779
2055
|
<code class="literal">g</code> and <code class="literal">b</code> are hex digits representing
|
1780
2056
|
the red, green, and blue components respectively.
|
1781
2057
|
</p>
|
1782
|
-
<div class="variablelist"><table border="0">
|
2058
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2059
|
+
<colgroup>
|
1783
2060
|
<col align="left" valign="top">
|
2061
|
+
<col>
|
2062
|
+
</colgroup>
|
1784
2063
|
<tbody>
|
1785
2064
|
<tr>
|
1786
2065
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
@@ -1789,7 +2068,7 @@ the red, green, and blue components respectively.
|
|
1789
2068
|
</tr>
|
1790
2069
|
<tr>
|
1791
2070
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1792
|
-
<td>a newly-allocated text string that must be freed with <
|
2071
|
+
<td>a newly-allocated text string that must be freed with <code class="function">g_free()</code>.</td>
|
1793
2072
|
</tr>
|
1794
2073
|
</tbody>
|
1795
2074
|
</table></div>
|
@@ -1819,7 +2098,7 @@ for more than one paragraph of text.
|
|
1819
2098
|
<pre class="programlisting">#define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
|
1820
2099
|
</pre>
|
1821
2100
|
<p>
|
1822
|
-
The <
|
2101
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>.
|
1823
2102
|
</p>
|
1824
2103
|
</div>
|
1825
2104
|
<hr>
|
@@ -1829,12 +2108,16 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
1829
2108
|
<p>
|
1830
2109
|
Create a new empty attribute list with a reference count of one.
|
1831
2110
|
</p>
|
1832
|
-
<div class="variablelist"><table border="0">
|
2111
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2112
|
+
<colgroup>
|
1833
2113
|
<col align="left" valign="top">
|
2114
|
+
<col>
|
2115
|
+
</colgroup>
|
1834
2116
|
<tbody><tr>
|
1835
2117
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1836
|
-
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>,
|
1837
|
-
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()"><code class="function">pango_attr_list_unref()</code></a
|
2118
|
+
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>,
|
2119
|
+
which should 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2120
|
+
</td>
|
1838
2121
|
</tr></tbody>
|
1839
2122
|
</table></div>
|
1840
2123
|
</div>
|
@@ -1845,12 +2128,15 @@ be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-u
|
|
1845
2128
|
<p>
|
1846
2129
|
Increase the reference count of the given attribute list by one.
|
1847
2130
|
</p>
|
1848
|
-
<div class="variablelist"><table border="0">
|
2131
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2132
|
+
<colgroup>
|
1849
2133
|
<col align="left" valign="top">
|
2134
|
+
<col>
|
2135
|
+
</colgroup>
|
1850
2136
|
<tbody>
|
1851
2137
|
<tr>
|
1852
2138
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1853
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/
|
2139
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1854
2140
|
</td>
|
1855
2141
|
</tr>
|
1856
2142
|
<tr>
|
@@ -1870,11 +2156,14 @@ Decrease the reference count of the given attribute list by one.
|
|
1870
2156
|
If the result is zero, free the attribute list and the attributes
|
1871
2157
|
it contains.
|
1872
2158
|
</p>
|
1873
|
-
<div class="variablelist"><table border="0">
|
2159
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2160
|
+
<colgroup>
|
1874
2161
|
<col align="left" valign="top">
|
2162
|
+
<col>
|
2163
|
+
</colgroup>
|
1875
2164
|
<tbody><tr>
|
1876
2165
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1877
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/
|
2166
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1878
2167
|
</td>
|
1879
2168
|
</tr></tbody>
|
1880
2169
|
</table></div>
|
@@ -1886,12 +2175,15 @@ it contains.
|
|
1886
2175
|
<p>
|
1887
2176
|
Copy <em class="parameter"><code>list</code></em> and return an identical new list.
|
1888
2177
|
</p>
|
1889
|
-
<div class="variablelist"><table border="0">
|
2178
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2179
|
+
<colgroup>
|
1890
2180
|
<col align="left" valign="top">
|
2181
|
+
<col>
|
2182
|
+
</colgroup>
|
1891
2183
|
<tbody>
|
1892
2184
|
<tr>
|
1893
2185
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1894
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/
|
2186
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1895
2187
|
</td>
|
1896
2188
|
</tr>
|
1897
2189
|
<tr>
|
@@ -1899,7 +2191,7 @@ Copy <em class="parameter"><code>list</code></em> and return an identical new li
|
|
1899
2191
|
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, with a
|
1900
2192
|
reference count of one, which should
|
1901
2193
|
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()"><code class="function">pango_attr_list_unref()</code></a>.
|
1902
|
-
Returns <a href="/
|
2194
|
+
Returns <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>list</code></em> was <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
1903
2195
|
</tr>
|
1904
2196
|
</tbody>
|
1905
2197
|
</table></div>
|
@@ -1914,8 +2206,11 @@ Insert the given attribute into the <a class="link" href="pango-Text-Attributes.
|
|
1914
2206
|
be inserted after all other attributes with a matching
|
1915
2207
|
<em class="parameter"><code>start_index</code></em>.
|
1916
2208
|
</p>
|
1917
|
-
<div class="variablelist"><table border="0">
|
2209
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2210
|
+
<colgroup>
|
1918
2211
|
<col align="left" valign="top">
|
2212
|
+
<col>
|
2213
|
+
</colgroup>
|
1919
2214
|
<tbody>
|
1920
2215
|
<tr>
|
1921
2216
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
@@ -1924,8 +2219,9 @@ be inserted after all other attributes with a matching
|
|
1924
2219
|
</tr>
|
1925
2220
|
<tr>
|
1926
2221
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
1927
|
-
<td>the attribute to insert. Ownership of this
|
1928
|
-
assumed by the list
|
2222
|
+
<td>the attribute to insert. Ownership of this
|
2223
|
+
value is assumed by the list. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2224
|
+
</td>
|
1929
2225
|
</tr>
|
1930
2226
|
</tbody>
|
1931
2227
|
</table></div>
|
@@ -1940,8 +2236,11 @@ Insert the given attribute into the <a class="link" href="pango-Text-Attributes.
|
|
1940
2236
|
be inserted before all other attributes with a matching
|
1941
2237
|
<em class="parameter"><code>start_index</code></em>.
|
1942
2238
|
</p>
|
1943
|
-
<div class="variablelist"><table border="0">
|
2239
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2240
|
+
<colgroup>
|
1944
2241
|
<col align="left" valign="top">
|
2242
|
+
<col>
|
2243
|
+
</colgroup>
|
1945
2244
|
<tbody>
|
1946
2245
|
<tr>
|
1947
2246
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
@@ -1950,8 +2249,9 @@ be inserted before all other attributes with a matching
|
|
1950
2249
|
</tr>
|
1951
2250
|
<tr>
|
1952
2251
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
1953
|
-
<td>the attribute to insert. Ownership of this
|
1954
|
-
assumed by the list
|
2252
|
+
<td>the attribute to insert. Ownership of this
|
2253
|
+
value is assumed by the list. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2254
|
+
</td>
|
1955
2255
|
</tr>
|
1956
2256
|
</tbody>
|
1957
2257
|
</table></div>
|
@@ -1973,8 +2273,11 @@ for large lists). However, <a class="link" href="pango-Text-Attributes.html#pang
|
|
1973
2273
|
suitable for continually changing a set of attributes
|
1974
2274
|
since it never removes or combines existing attributes.
|
1975
2275
|
</p>
|
1976
|
-
<div class="variablelist"><table border="0">
|
2276
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2277
|
+
<colgroup>
|
1977
2278
|
<col align="left" valign="top">
|
2279
|
+
<col>
|
2280
|
+
</colgroup>
|
1978
2281
|
<tbody>
|
1979
2282
|
<tr>
|
1980
2283
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
@@ -1983,8 +2286,9 @@ since it never removes or combines existing attributes.
|
|
1983
2286
|
</tr>
|
1984
2287
|
<tr>
|
1985
2288
|
<td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
|
1986
|
-
<td>the attribute to insert. Ownership of this
|
1987
|
-
assumed by the list
|
2289
|
+
<td>the attribute to insert. Ownership of this
|
2290
|
+
value is assumed by the list. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2291
|
+
</td>
|
1988
2292
|
</tr>
|
1989
2293
|
</tbody>
|
1990
2294
|
</table></div>
|
@@ -1994,8 +2298,8 @@ assumed by the list.</td>
|
|
1994
2298
|
<a name="pango-attr-list-splice"></a><h3>pango_attr_list_splice ()</h3>
|
1995
2299
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_list_splice (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
1996
2300
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
|
1997
|
-
<em class="parameter"><code><
|
1998
|
-
<em class="parameter"><code><
|
2301
|
+
<em class="parameter"><code><span class="type">gint</span> pos</code></em>,
|
2302
|
+
<em class="parameter"><code><span class="type">gint</span> len</code></em>);</pre>
|
1999
2303
|
<p>
|
2000
2304
|
This function opens up a hole in <em class="parameter"><code>list</code></em>, fills it in with attributes from
|
2001
2305
|
the left, and then merges <em class="parameter"><code>other</code></em> on top of the hole.
|
@@ -2010,8 +2314,11 @@ of each attribute in <em class="parameter"><code>other</code></em> in sequence (
|
|
2010
2314
|
This operation proves useful for, for instance, inserting
|
2011
2315
|
a pre-edit string in the middle of an edit buffer.
|
2012
2316
|
</p>
|
2013
|
-
<div class="variablelist"><table border="0">
|
2317
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2318
|
+
<colgroup>
|
2014
2319
|
<col align="left" valign="top">
|
2320
|
+
<col>
|
2321
|
+
</colgroup>
|
2015
2322
|
<tbody>
|
2016
2323
|
<tr>
|
2017
2324
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
@@ -2042,14 +2349,17 @@ may only be present at some subsection of this range)</td>
|
|
2042
2349
|
<a name="pango-attr-list-filter"></a><h3>pango_attr_list_filter ()</h3>
|
2043
2350
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_attr_list_filter (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2044
2351
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
|
2045
|
-
<em class="parameter"><code><
|
2352
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
2046
2353
|
<p>
|
2047
2354
|
Given a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> and callback function, removes any elements
|
2048
|
-
of <em class="parameter"><code>list</code></em> for which <em class="parameter"><code>func</code></em> returns <
|
2355
|
+
of <em class="parameter"><code>list</code></em> for which <em class="parameter"><code>func</code></em> returns <code class="literal">TRUE</code> and inserts them into
|
2049
2356
|
a new list.
|
2050
2357
|
</p>
|
2051
|
-
<div class="variablelist"><table border="0">
|
2358
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2359
|
+
<colgroup>
|
2052
2360
|
<col align="left" valign="top">
|
2361
|
+
<col>
|
2362
|
+
</colgroup>
|
2053
2363
|
<tbody>
|
2054
2364
|
<tr>
|
2055
2365
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
@@ -2058,19 +2368,19 @@ a new list.
|
|
2058
2368
|
</tr>
|
2059
2369
|
<tr>
|
2060
2370
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2061
|
-
<td>callback function; returns <
|
2062
|
-
if an attribute should be filtered out. <span class="annotation">[<
|
2371
|
+
<td>callback function; returns <code class="literal">TRUE</code>
|
2372
|
+
if an attribute should be filtered out. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>][<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> data]</span>
|
2063
2373
|
</td>
|
2064
2374
|
</tr>
|
2065
2375
|
<tr>
|
2066
2376
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2067
|
-
<td>Data to be passed to <em class="parameter"><code>func</code></em>. <span class="annotation">[<
|
2377
|
+
<td>Data to be passed to <em class="parameter"><code>func</code></em>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
|
2068
2378
|
</td>
|
2069
2379
|
</tr>
|
2070
2380
|
<tr>
|
2071
2381
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2072
|
-
<td>the new <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> or <a href="/
|
2073
|
-
no attributes of the given types were found. <span class="annotation">[<
|
2382
|
+
<td>the new <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
|
2383
|
+
no attributes of the given types were found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2074
2384
|
</td>
|
2075
2385
|
</tr>
|
2076
2386
|
</tbody>
|
@@ -2080,29 +2390,34 @@ no attributes of the given types were found. <span class="annotation">[<a href="
|
|
2080
2390
|
<hr>
|
2081
2391
|
<div class="refsect2">
|
2082
2392
|
<a name="PangoAttrFilterFunc"></a><h3>PangoAttrFilterFunc ()</h3>
|
2083
|
-
<pre class="programlisting"><
|
2084
|
-
<em class="parameter"><code><
|
2393
|
+
<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>,
|
2394
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
2395
|
+
<p>
|
2396
|
+
Type of a function filtering a list of attributes.
|
2397
|
+
</p>
|
2085
2398
|
<p>
|
2086
2399
|
A predicate function used by <a class="link" href="pango-Text-Attributes.html#pango-attr-list-filter" title="pango_attr_list_filter ()"><code class="function">pango_attr_list_filter()</code></a>
|
2087
2400
|
to filter out a subset of attributes for a list.
|
2088
2401
|
</p>
|
2089
|
-
<div class="variablelist"><table border="0">
|
2402
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2403
|
+
<colgroup>
|
2090
2404
|
<col align="left" valign="top">
|
2405
|
+
<col>
|
2406
|
+
</colgroup>
|
2091
2407
|
<tbody>
|
2092
2408
|
<tr>
|
2093
2409
|
<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
|
2094
|
-
<td>a
|
2095
|
-
</td>
|
2410
|
+
<td>a Pango attribute</td>
|
2096
2411
|
</tr>
|
2097
2412
|
<tr>
|
2098
|
-
<td><p><span class="term"><em class="parameter"><code>
|
2099
|
-
<td>
|
2100
|
-
</td>
|
2413
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2414
|
+
<td>user data passed to the function</td>
|
2101
2415
|
</tr>
|
2102
2416
|
<tr>
|
2103
2417
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2104
2418
|
<td>
|
2105
|
-
<
|
2419
|
+
<code class="literal">TRUE</code> if the attribute should be kept, <code class="literal">FALSE</code> if it should be
|
2420
|
+
filtered out.</td>
|
2106
2421
|
</tr>
|
2107
2422
|
</tbody>
|
2108
2423
|
</table></div>
|
@@ -2115,8 +2430,11 @@ to filter out a subset of attributes for a list.
|
|
2115
2430
|
Create a iterator initialized to the beginning of the list.
|
2116
2431
|
<em class="parameter"><code>list</code></em> must not be modified until this iterator is freed.
|
2117
2432
|
</p>
|
2118
|
-
<div class="variablelist"><table border="0">
|
2433
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2434
|
+
<colgroup>
|
2119
2435
|
<col align="left" valign="top">
|
2436
|
+
<col>
|
2437
|
+
</colgroup>
|
2120
2438
|
<tbody>
|
2121
2439
|
<tr>
|
2122
2440
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
@@ -2126,7 +2444,8 @@ Create a iterator initialized to the beginning of the list.
|
|
2126
2444
|
<tr>
|
2127
2445
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2128
2446
|
<td>the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>, which should
|
2129
|
-
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()"><code class="function">pango_attr_iterator_destroy()</code></a
|
2447
|
+
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()"><code class="function">pango_attr_iterator_destroy()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2448
|
+
</td>
|
2130
2449
|
</tr>
|
2131
2450
|
</tbody>
|
2132
2451
|
</table></div>
|
@@ -2152,8 +2471,11 @@ attributes currently in effect can be queried.
|
|
2152
2471
|
<p>
|
2153
2472
|
Copy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>
|
2154
2473
|
</p>
|
2155
|
-
<div class="variablelist"><table border="0">
|
2474
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2475
|
+
<colgroup>
|
2156
2476
|
<col align="left" valign="top">
|
2477
|
+
<col>
|
2478
|
+
</colgroup>
|
2157
2479
|
<tbody>
|
2158
2480
|
<tr>
|
2159
2481
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
@@ -2161,8 +2483,10 @@ Copy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title
|
|
2161
2483
|
</tr>
|
2162
2484
|
<tr>
|
2163
2485
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2164
|
-
<td>the newly allocated
|
2165
|
-
|
2486
|
+
<td>the newly allocated
|
2487
|
+
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>, which should be freed with
|
2488
|
+
<a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()"><code class="function">pango_attr_iterator_destroy()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2489
|
+
</td>
|
2166
2490
|
</tr>
|
2167
2491
|
</tbody>
|
2168
2492
|
</table></div>
|
@@ -2170,12 +2494,15 @@ be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-iterat
|
|
2170
2494
|
<hr>
|
2171
2495
|
<div class="refsect2">
|
2172
2496
|
<a name="pango-attr-iterator-next"></a><h3>pango_attr_iterator_next ()</h3>
|
2173
|
-
<pre class="programlisting"><
|
2497
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_attr_iterator_next (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2174
2498
|
<p>
|
2175
2499
|
Advance the iterator until the next change of style.
|
2176
2500
|
</p>
|
2177
|
-
<div class="variablelist"><table border="0">
|
2501
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2502
|
+
<colgroup>
|
2178
2503
|
<col align="left" valign="top">
|
2504
|
+
<col>
|
2505
|
+
</colgroup>
|
2179
2506
|
<tbody>
|
2180
2507
|
<tr>
|
2181
2508
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
@@ -2185,7 +2512,7 @@ Advance the iterator until the next change of style.
|
|
2185
2512
|
<tr>
|
2186
2513
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2187
2514
|
<td>
|
2188
|
-
<
|
2515
|
+
<code class="literal">FALSE</code> if the iterator is at the end of the list, otherwise <code class="literal">TRUE</code>
|
2189
2516
|
</td>
|
2190
2517
|
</tr>
|
2191
2518
|
</tbody>
|
@@ -2195,17 +2522,20 @@ Advance the iterator until the next change of style.
|
|
2195
2522
|
<div class="refsect2">
|
2196
2523
|
<a name="pango-attr-iterator-range"></a><h3>pango_attr_iterator_range ()</h3>
|
2197
2524
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_range (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
2198
|
-
<em class="parameter"><code><
|
2199
|
-
<em class="parameter"><code><
|
2525
|
+
<em class="parameter"><code><span class="type">gint</span> *start</code></em>,
|
2526
|
+
<em class="parameter"><code><span class="type">gint</span> *end</code></em>);</pre>
|
2200
2527
|
<p>
|
2201
2528
|
Get the range of the current segment. Note that the
|
2202
2529
|
stored return values are signed, not unsigned like
|
2203
2530
|
the values in <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>. To deal with this API
|
2204
2531
|
oversight, stored return values that wouldn't fit into
|
2205
|
-
a signed integer are clamped to <
|
2532
|
+
a signed integer are clamped to <code class="literal">G_MAXINT</code>.
|
2206
2533
|
</p>
|
2207
|
-
<div class="variablelist"><table border="0">
|
2534
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2535
|
+
<colgroup>
|
2208
2536
|
<col align="left" valign="top">
|
2537
|
+
<col>
|
2538
|
+
</colgroup>
|
2209
2539
|
<tbody>
|
2210
2540
|
<tr>
|
2211
2541
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
@@ -2214,11 +2544,13 @@ a signed integer are clamped to <a href="http://library.gnome.org/devel/glib/uns
|
|
2214
2544
|
</tr>
|
2215
2545
|
<tr>
|
2216
2546
|
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
2217
|
-
<td>location to store the start of the range</
|
2547
|
+
<td>location to store the start of the range. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2548
|
+
</td>
|
2218
2549
|
</tr>
|
2219
2550
|
<tr>
|
2220
2551
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
2221
|
-
<td>location to store the end of the range</
|
2552
|
+
<td>location to store the end of the range. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2553
|
+
</td>
|
2222
2554
|
</tr>
|
2223
2555
|
</tbody>
|
2224
2556
|
</table></div>
|
@@ -2234,8 +2566,11 @@ location. When multiple attributes of the same type overlap,
|
|
2234
2566
|
the attribute whose range starts closest to the current location
|
2235
2567
|
is used.
|
2236
2568
|
</p>
|
2237
|
-
<div class="variablelist"><table border="0">
|
2569
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2570
|
+
<colgroup>
|
2238
2571
|
<col align="left" valign="top">
|
2572
|
+
<col>
|
2573
|
+
</colgroup>
|
2239
2574
|
<tbody>
|
2240
2575
|
<tr>
|
2241
2576
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
@@ -2248,8 +2583,8 @@ is used.
|
|
2248
2583
|
</tr>
|
2249
2584
|
<tr>
|
2250
2585
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2251
|
-
<td>the current attribute of the given type, or <a href="/
|
2252
|
-
|
2586
|
+
<td>the current attribute of the given type, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
|
2587
|
+
no attribute of that type applies to the current
|
2253
2588
|
location.</td>
|
2254
2589
|
</tr>
|
2255
2590
|
</tbody>
|
@@ -2261,12 +2596,15 @@ location.</td>
|
|
2261
2596
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_attr_iterator_get_font (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
2262
2597
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
2263
2598
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
|
2264
|
-
<em class="parameter"><code><
|
2599
|
+
<em class="parameter"><code><span class="type">GSList</span> **extra_attrs</code></em>);</pre>
|
2265
2600
|
<p>
|
2266
2601
|
Get the font and other attributes at the current iterator position.
|
2267
2602
|
</p>
|
2268
|
-
<div class="variablelist"><table border="0">
|
2603
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2604
|
+
<colgroup>
|
2269
2605
|
<col align="left" valign="top">
|
2606
|
+
<col>
|
2607
|
+
</colgroup>
|
2270
2608
|
<tbody>
|
2271
2609
|
<tr>
|
2272
2610
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
@@ -2284,18 +2622,18 @@ so if you plan to keep it around, you must call:
|
|
2284
2622
|
</tr>
|
2285
2623
|
<tr>
|
2286
2624
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2287
|
-
<td>if non-<a href="/
|
2288
|
-
if none is found. <span class="annotation">[<
|
2625
|
+
<td>if non-<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, location to store language tag for item, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2626
|
+
if none is found. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2289
2627
|
</td>
|
2290
2628
|
</tr>
|
2291
2629
|
<tr>
|
2292
2630
|
<td><p><span class="term"><em class="parameter"><code>extra_attrs</code></em> :</span></p></td>
|
2293
|
-
<td>if non-<a href="/
|
2631
|
+
<td>if non-<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>,
|
2294
2632
|
location in which to store a list of non-font
|
2295
2633
|
attributes at the the current position; only the highest priority
|
2296
2634
|
value of each attribute will be added to this list. In order
|
2297
2635
|
to free this value, you must call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
|
2298
|
-
each member. <span class="annotation">[<
|
2636
|
+
each member. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Attribute][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2299
2637
|
</td>
|
2300
2638
|
</tr>
|
2301
2639
|
</tbody>
|
@@ -2304,13 +2642,16 @@ each member. <span class="annotation">[<a href="http://foldoc.org/allow-none"><s
|
|
2304
2642
|
<hr>
|
2305
2643
|
<div class="refsect2">
|
2306
2644
|
<a name="pango-attr-iterator-get-attrs"></a><h3>pango_attr_iterator_get_attrs ()</h3>
|
2307
|
-
<pre class="programlisting"><
|
2645
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * pango_attr_iterator_get_attrs (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2308
2646
|
<p>
|
2309
2647
|
Gets a list of all attributes at the current position of the
|
2310
2648
|
iterator.
|
2311
2649
|
</p>
|
2312
|
-
<div class="variablelist"><table border="0">
|
2650
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2651
|
+
<colgroup>
|
2313
2652
|
<col align="left" valign="top">
|
2653
|
+
<col>
|
2654
|
+
</colgroup>
|
2314
2655
|
<tbody>
|
2315
2656
|
<tr>
|
2316
2657
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
@@ -2322,7 +2663,7 @@ iterator.
|
|
2322
2663
|
<td>a list of
|
2323
2664
|
all attributes for the current range.
|
2324
2665
|
To free this value, call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
|
2325
|
-
each value and <
|
2666
|
+
each value and <code class="function">g_slist_free()</code> on the list. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Attribute][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2326
2667
|
</td>
|
2327
2668
|
</tr>
|
2328
2669
|
</tbody>
|
@@ -2336,8 +2677,11 @@ each value and <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly
|
|
2336
2677
|
<p>
|
2337
2678
|
Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> and free all associated memory.
|
2338
2679
|
</p>
|
2339
|
-
<div class="variablelist"><table border="0">
|
2680
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2681
|
+
<colgroup>
|
2340
2682
|
<col align="left" valign="top">
|
2683
|
+
<col>
|
2684
|
+
</colgroup>
|
2341
2685
|
<tbody><tr>
|
2342
2686
|
<td><p><span class="term"><em class="parameter"><code>iterator</code></em> :</span></p></td>
|
2343
2687
|
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>.</td>
|
@@ -2348,6 +2692,6 @@ Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" ti
|
|
2348
2692
|
</div>
|
2349
2693
|
<div class="footer">
|
2350
2694
|
<hr>
|
2351
|
-
Generated by GTK-Doc V1.18</div>
|
2695
|
+
Generated by GTK-Doc V1.18.1</div>
|
2352
2696
|
</body>
|
2353
2697
|
</html>
|