File: gtksourceview-3.0-Version-Information.html

package info (click to toggle)
gtksourceview3 3.22.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 20,676 kB
  • ctags: 6,451
  • sloc: ansic: 49,941; sh: 4,835; xml: 2,455; makefile: 1,032; python: 624; perl: 52; yacc: 45; cobol: 20; objc: 19; sed: 16; fortran: 14; cpp: 8; ml: 3
file content (485 lines) | stat: -rw-r--r-- 26,229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Version Information: GtkSourceView 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
<link rel="up" href="ch09.html" title="Other">
<link rel="prev" href="gtksourceview-3.0-GtkSourceUtils.html" title="GtkSourceUtils">
<link rel="next" href="pt02.html" title="Part II. Syntax highlighting reference">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gtksourceview-3.0-Version-Information.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch09.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gtksourceview-3.0-GtkSourceUtils.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="pt02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gtksourceview-3.0-Version-Information"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtksourceview-3.0-Version-Information.top_of_page"></a>Version Information</span></h2>
<p>Version Information — Macros and functions to check the GtkSourceView version</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gtksourceview-3.0-Version-Information.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="gtksourceview-3.0-Version-Information.html#gtk-source-get-major-version" title="gtk_source_get_major_version ()">gtk_source_get_major_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="gtksourceview-3.0-Version-Information.html#gtk-source-get-minor-version" title="gtk_source_get_minor_version ()">gtk_source_get_minor_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="gtksourceview-3.0-Version-Information.html#gtk-source-get-micro-version" title="gtk_source_get_micro_version ()">gtk_source_get_micro_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gtksourceview-3.0-Version-Information.html#gtk-source-check-version" title="gtk_source_check_version ()">gtk_source_check_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-CHECK-VERSION:CAPS" title="GTK_SOURCE_CHECK_VERSION()">GTK_SOURCE_CHECK_VERSION</a><span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gtksourceview-3.0-Version-Information.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-MAJOR-VERSION:CAPS" title="GTK_SOURCE_MAJOR_VERSION">GTK_SOURCE_MAJOR_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-MINOR-VERSION:CAPS" title="GTK_SOURCE_MINOR_VERSION">GTK_SOURCE_MINOR_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-MICRO-VERSION:CAPS" title="GTK_SOURCE_MICRO_VERSION">GTK_SOURCE_MICRO_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-0:CAPS" title="GTK_SOURCE_VERSION_3_0">GTK_SOURCE_VERSION_3_0</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-2:CAPS" title="GTK_SOURCE_VERSION_3_2">GTK_SOURCE_VERSION_3_2</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-4:CAPS" title="GTK_SOURCE_VERSION_3_4">GTK_SOURCE_VERSION_3_4</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-6:CAPS" title="GTK_SOURCE_VERSION_3_6">GTK_SOURCE_VERSION_3_6</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-8:CAPS" title="GTK_SOURCE_VERSION_3_8">GTK_SOURCE_VERSION_3_8</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-10:CAPS" title="GTK_SOURCE_VERSION_3_10">GTK_SOURCE_VERSION_3_10</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-12:CAPS" title="GTK_SOURCE_VERSION_3_12">GTK_SOURCE_VERSION_3_12</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-14:CAPS" title="GTK_SOURCE_VERSION_3_14">GTK_SOURCE_VERSION_3_14</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-16:CAPS" title="GTK_SOURCE_VERSION_3_16">GTK_SOURCE_VERSION_3_16</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-18:CAPS" title="GTK_SOURCE_VERSION_3_18">GTK_SOURCE_VERSION_3_18</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-20:CAPS" title="GTK_SOURCE_VERSION_3_20">GTK_SOURCE_VERSION_3_20</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-22:CAPS" title="GTK_SOURCE_VERSION_3_22">GTK_SOURCE_VERSION_3_22</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-MIN-REQUIRED:CAPS" title="GTK_SOURCE_VERSION_MIN_REQUIRED">GTK_SOURCE_VERSION_MIN_REQUIRED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-MAX-ALLOWED:CAPS" title="GTK_SOURCE_VERSION_MAX_ALLOWED">GTK_SOURCE_VERSION_MAX_ALLOWED</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gtksourceview-3.0-Version-Information.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gtksourceview/gtksource.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="gtksourceview-3.0-Version-Information.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="gtksourceview-3.0-Version-Information.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-source-get-major-version"></a><h3>gtk_source_get_major_version ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gtk_source_get_major_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the major version number of the GtkSourceView library.
(e.g. in GtkSourceView version 3.20.0 this is 3.)</p>
<p>This function is in the library, so it represents the GtkSourceView library
your code is running against. Contrast with the <a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-MAJOR-VERSION:CAPS" title="GTK_SOURCE_MAJOR_VERSION"><span class="type">GTK_SOURCE_MAJOR_VERSION</span></a>
macro, which represents the major version of the GtkSourceView headers you
have included when compiling your code.</p>
<div class="refsect3">
<a name="gtk-source-get-major-version.returns"></a><h4>Returns</h4>
<p> the major version number of the GtkSourceView library</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-get-minor-version"></a><h3>gtk_source_get_minor_version ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gtk_source_get_minor_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the minor version number of the GtkSourceView library.
(e.g. in GtkSourceView version 3.20.0 this is 20.)</p>
<p>This function is in the library, so it represents the GtkSourceView library
your code is running against. Contrast with the <a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-MINOR-VERSION:CAPS" title="GTK_SOURCE_MINOR_VERSION"><span class="type">GTK_SOURCE_MINOR_VERSION</span></a>
macro, which represents the minor version of the GtkSourceView headers you
have included when compiling your code.</p>
<div class="refsect3">
<a name="gtk-source-get-minor-version.returns"></a><h4>Returns</h4>
<p> the minor version number of the GtkSourceView library</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-get-micro-version"></a><h3>gtk_source_get_micro_version ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gtk_source_get_micro_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the micro version number of the GtkSourceView library.
(e.g. in GtkSourceView version 3.20.0 this is 0.)</p>
<p>This function is in the library, so it represents the GtkSourceView library
your code is running against. Contrast with the <a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-MICRO-VERSION:CAPS" title="GTK_SOURCE_MICRO_VERSION"><span class="type">GTK_SOURCE_MICRO_VERSION</span></a>
macro, which represents the micro version of the GtkSourceView headers you
have included when compiling your code.</p>
<div class="refsect3">
<a name="gtk-source-get-micro-version.returns"></a><h4>Returns</h4>
<p> the micro version number of the GtkSourceView library</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-check-version"></a><h3>gtk_source_check_version ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gtk_source_check_version (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> major</code></em>,
                          <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minor</code></em>,
                          <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> micro</code></em>);</pre>
<p>Like GTK_SOURCE_CHECK_VERSION, but the check for gtk_source_check_version is
at runtime instead of compile time. This is useful for compiling
against older versions of GtkSourceView, but using features from newer
versions.</p>
<div class="refsect3">
<a name="gtk-source-check-version.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>major</p></td>
<td class="parameter_description"><p>the major version to check</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>minor</p></td>
<td class="parameter_description"><p>the minor version to check</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>micro</p></td>
<td class="parameter_description"><p>the micro version to check</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-source-check-version.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version of the GtkSourceView currently loaded
is the same as or newer than the passed-in version.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-CHECK-VERSION:CAPS"></a><h3>GTK_SOURCE_CHECK_VERSION()</h3>
<pre class="programlisting">#define             GTK_SOURCE_CHECK_VERSION(major, minor, micro)</pre>
<p>Macro to test the version of GtkSourceView being compiled against.</p>
<div class="refsect3">
<a name="GTK-SOURCE-CHECK-VERSION.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>major</p></td>
<td class="parameter_description"><p>major version (e.g. 3 for version 3.20.0)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>minor</p></td>
<td class="parameter_description"><p>minor version (e.g. 20 for version 3.20.0)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>micro</p></td>
<td class="parameter_description"><p>micro version (e.g. 0 for version 3.20.0)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GTK-SOURCE-CHECK-VERSION.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version of the GtkSourceView header files
is the same as or newer than the passed-in version.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
</div>
<div class="refsect1">
<a name="gtksourceview-3.0-Version-Information.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GTK-SOURCE-MAJOR-VERSION:CAPS"></a><h3>GTK_SOURCE_MAJOR_VERSION</h3>
<pre class="programlisting">#define GTK_SOURCE_MAJOR_VERSION (3)
</pre>
<p>Like <a class="link" href="gtksourceview-3.0-Version-Information.html#gtk-source-get-major-version" title="gtk_source_get_major_version ()"><code class="function">gtk_source_get_major_version()</code></a>, but from the headers used at
application compile time, rather than from the library linked
against at application run time.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-MINOR-VERSION:CAPS"></a><h3>GTK_SOURCE_MINOR_VERSION</h3>
<pre class="programlisting">#define GTK_SOURCE_MINOR_VERSION (22)
</pre>
<p>Like <a class="link" href="gtksourceview-3.0-Version-Information.html#gtk-source-get-minor-version" title="gtk_source_get_minor_version ()"><code class="function">gtk_source_get_minor_version()</code></a>, but from the headers used at
application compile time, rather than from the library linked
against at application run time.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-MICRO-VERSION:CAPS"></a><h3>GTK_SOURCE_MICRO_VERSION</h3>
<pre class="programlisting">#define GTK_SOURCE_MICRO_VERSION (2)
</pre>
<p>Like <a class="link" href="gtksourceview-3.0-Version-Information.html#gtk-source-get-micro-version" title="gtk_source_get_micro_version ()"><code class="function">gtk_source_get_micro_version()</code></a>, but from the headers used at
application compile time, rather than from the library linked
against at application run time.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-0:CAPS"></a><h3>GTK_SOURCE_VERSION_3_0</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_0 (G_ENCODE_VERSION (3, 0))
</pre>
<p>A macro that evaluates to the 3.0 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-2:CAPS"></a><h3>GTK_SOURCE_VERSION_3_2</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_2 (G_ENCODE_VERSION (3, 2))
</pre>
<p>A macro that evaluates to the 3.2 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-4:CAPS"></a><h3>GTK_SOURCE_VERSION_3_4</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_4 (G_ENCODE_VERSION (3, 4))
</pre>
<p>A macro that evaluates to the 3.4 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-6:CAPS"></a><h3>GTK_SOURCE_VERSION_3_6</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_6 (G_ENCODE_VERSION (3, 6))
</pre>
<p>A macro that evaluates to the 3.6 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-8:CAPS"></a><h3>GTK_SOURCE_VERSION_3_8</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_8 (G_ENCODE_VERSION (3, 8))
</pre>
<p>A macro that evaluates to the 3.8 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-10:CAPS"></a><h3>GTK_SOURCE_VERSION_3_10</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_10 (G_ENCODE_VERSION (3, 10))
</pre>
<p>A macro that evaluates to the 3.10 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-12:CAPS"></a><h3>GTK_SOURCE_VERSION_3_12</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_12 (G_ENCODE_VERSION (3, 12))
</pre>
<p>A macro that evaluates to the 3.12 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-14:CAPS"></a><h3>GTK_SOURCE_VERSION_3_14</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_14 (G_ENCODE_VERSION (3, 14))
</pre>
<p>A macro that evaluates to the 3.14 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-16:CAPS"></a><h3>GTK_SOURCE_VERSION_3_16</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_16 (G_ENCODE_VERSION (3, 16))
</pre>
<p>A macro that evaluates to the 3.16 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-18:CAPS"></a><h3>GTK_SOURCE_VERSION_3_18</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_18 (G_ENCODE_VERSION (3, 18))
</pre>
<p>A macro that evaluates to the 3.18 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-20:CAPS"></a><h3>GTK_SOURCE_VERSION_3_20</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_20 (G_ENCODE_VERSION (3, 20))
</pre>
<p>A macro that evaluates to the 3.20 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-3-22:CAPS"></a><h3>GTK_SOURCE_VERSION_3_22</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_3_22 (G_ENCODE_VERSION (3, 22))
</pre>
<p>A macro that evaluates to the 3.22 version of GtkSourceView,
in a format that can be used by the C pre-processor.</p>
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-MIN-REQUIRED:CAPS"></a><h3>GTK_SOURCE_VERSION_MIN_REQUIRED</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_MIN_REQUIRED (GTK_SOURCE_VERSION_CUR_STABLE)
</pre>
<p>A macro that should be defined by the user prior to including
the gtksource.h header.
The definition should be one of the predefined version
macros: <a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-0:CAPS" title="GTK_SOURCE_VERSION_3_0"><code class="literal">GTK_SOURCE_VERSION_3_0</code></a>, <a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-2:CAPS" title="GTK_SOURCE_VERSION_3_2"><code class="literal">GTK_SOURCE_VERSION_3_2</code></a>, ...</p>
<p>This macro defines the lower bound for the GtkSourceView API to use.</p>
<p>If a function has been deprecated in a newer version of GtkSourceView,
defining this symbol hides the compiler warnings for those functions
without disabling warnings for the other deprecated functions.</p>
<div class="warning">
Warning: if you define this macro, do not forget to update it! Especially
when writing new code. Otherwise you can miss the new deprecations.
</div>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-SOURCE-VERSION-MAX-ALLOWED:CAPS"></a><h3>GTK_SOURCE_VERSION_MAX_ALLOWED</h3>
<pre class="programlisting">#define GTK_SOURCE_VERSION_MAX_ALLOWED  GTK_SOURCE_VERSION_MIN_REQUIRED
</pre>
<p>A macro that should be defined by the user prior to including
the gtksource.h header.
The definition should be one of the predefined version
macros: <a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-0:CAPS" title="GTK_SOURCE_VERSION_3_0"><code class="literal">GTK_SOURCE_VERSION_3_0</code></a>, <a class="link" href="gtksourceview-3.0-Version-Information.html#GTK-SOURCE-VERSION-3-2:CAPS" title="GTK_SOURCE_VERSION_3_2"><code class="literal">GTK_SOURCE_VERSION_3_2</code></a>, ...</p>
<p>This macro defines the upper bound for the GtkSourceView API to use.</p>
<p>If a function has been introduced in a newer version of GtkSourceView,
it is possible to use this symbol to get compiler warnings when
trying to use that function.</p>
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25.1</div>
</body>
</html>