gtksourceview3 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/dependency-check/Rakefile +43 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +1 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +8 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +35 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +8 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +2 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +1 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcespacedrawer.h +149 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +1 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +1 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +12 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +30 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +13 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +11 -2
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +2 -2
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +573 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +4 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +4 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +298 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +70 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +170 -170
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +9 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSpaceDrawer.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +173 -91
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +2 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +4 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-24.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +30 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +109 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +6 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +17 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +62 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +10 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +29 -141
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +136 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +21 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt04.html +54 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +6 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/abnf.lang +110 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +64 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtl.lang +297 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haxe.lang +238 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +3 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/meson.lang +29 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +10 -2
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- metadata +16 -7
@@ -101,8 +101,8 @@
|
|
101
101
|
<col class="description">
|
102
102
|
</colgroup>
|
103
103
|
<tbody><tr>
|
104
|
-
<td class="datatype_keyword">
|
105
|
-
<td class="function_name"><a class="link" href="GtkSourceMap.html#GtkSourceMap-struct" title="
|
104
|
+
<td class="datatype_keyword"> </td>
|
105
|
+
<td class="function_name"><a class="link" href="GtkSourceMap.html#GtkSourceMap-struct" title="GtkSourceMap">GtkSourceMap</a></td>
|
106
106
|
</tr></tbody>
|
107
107
|
</table></div>
|
108
108
|
</div>
|
@@ -223,8 +223,8 @@ gtk_source_map_get_view (<em class="parameter"><code><a class="link" href="GtkSo
|
|
223
223
|
<div class="refsect1">
|
224
224
|
<a name="GtkSourceMap.other_details"></a><h2>Types and Values</h2>
|
225
225
|
<div class="refsect2">
|
226
|
-
<a name="GtkSourceMap-struct"></a><h3>
|
227
|
-
<pre class="programlisting">struct GtkSourceMap;</pre>
|
226
|
+
<a name="GtkSourceMap-struct"></a><h3>GtkSourceMap</h3>
|
227
|
+
<pre class="programlisting">typedef struct _GtkSourceMap GtkSourceMap;</pre>
|
228
228
|
</div>
|
229
229
|
</div>
|
230
230
|
<div class="refsect1">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch09.html" title="Other">
|
9
9
|
<link rel="prev" href="GtkSourceMap.html" title="GtkSourceMap">
|
10
|
-
<link rel="next" href="
|
10
|
+
<link rel="next" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
23
|
<td><a accesskey="u" href="ch09.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
24
|
<td><a accesskey="p" href="GtkSourceMap.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
-
<td><a accesskey="n" href="
|
25
|
+
<td><a accesskey="n" href="GtkSourceSpaceDrawer.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
26
|
</tr></table>
|
27
27
|
<div class="refentry">
|
28
28
|
<a name="GtkSourceRegion"></a><div class="titlepage"></div>
|
@@ -455,6 +455,15 @@ gtk_source_search_context_get_settings
|
|
455
455
|
gtk_source_search_context_set_settings
|
456
456
|
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
457
457
|
<em class="parameter"><code><a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> *settings</code></em>);</pre>
|
458
|
+
<div class="warning">
|
459
|
+
<p><code class="literal">gtk_source_search_context_set_settings</code> has been deprecated since version 3.24 and should not be used in newly-written code.</p>
|
460
|
+
<p>The <a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--settings" title="The “settings” property"><span class="type">“settings”</span></a> property will become a
|
461
|
+
construct-only property in a future version. Create a new
|
462
|
+
<a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> instead, or change the <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a>
|
463
|
+
properties. When the <a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--settings" title="The “settings” property"><span class="type">“settings”</span></a> property will become
|
464
|
+
construct-only, it will be possible to simplify some code that needed to
|
465
|
+
listen to the notify::settings signal.</p>
|
466
|
+
</div>
|
458
467
|
<p>Associate a <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> with the search context. If <em class="parameter"><code>settings</code></em>
|
459
468
|
is
|
460
469
|
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a new one will be created.</p>
|
@@ -0,0 +1,671 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkSourceSpaceDrawer: GtkSourceView 3 Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="ch09.html" title="Other">
|
9
|
+
<link rel="prev" href="GtkSourceRegion.html" title="GtkSourceRegion">
|
10
|
+
<link rel="next" href="GtkSourceTag.html" title="GtkSourceTag">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GtkSourceSpaceDrawer.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceSpaceDrawer.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceSpaceDrawer.properties" class="shortcut">Properties</a></span>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="ch09.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="GtkSourceRegion.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="GtkSourceTag.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
27
|
+
<div class="refentry">
|
28
|
+
<a name="GtkSourceSpaceDrawer"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="GtkSourceSpaceDrawer.top_of_page"></a>GtkSourceSpaceDrawer</span></h2>
|
32
|
+
<p>GtkSourceSpaceDrawer — Represent white space characters with symbols</p>
|
33
|
+
</td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
35
|
+
</tr></table></div>
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GtkSourceSpaceDrawer.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="returnvalue">GtkSourceSpaceDrawer</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-new" title="gtk_source_space_drawer_new ()">gtk_source_space_drawer_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<span class="returnvalue">void</span>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-types-for-locations" title="gtk_source_space_drawer_set_types_for_locations ()">gtk_source_space_drawer_set_types_for_locations</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceTypeFlags" title="enum GtkSourceSpaceTypeFlags"><span class="returnvalue">GtkSourceSpaceTypeFlags</span></a>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-get-types-for-locations" title="gtk_source_space_drawer_get_types_for_locations ()">gtk_source_space_drawer_get_types_for_locations</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">void</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-matrix" title="gtk_source_space_drawer_set_matrix ()">gtk_source_space_drawer_set_matrix</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-get-matrix" title="gtk_source_space_drawer_get_matrix ()">gtk_source_space_drawer_get_matrix</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">void</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-enable-matrix" title="gtk_source_space_drawer_set_enable_matrix ()">gtk_source_space_drawer_set_enable_matrix</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-get-enable-matrix" title="gtk_source_space_drawer_get_enable_matrix ()">gtk_source_space_drawer_get_enable_matrix</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<span class="returnvalue">void</span>
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-bind-matrix-setting" title="gtk_source_space_drawer_bind_matrix_setting ()">gtk_source_space_drawer_bind_matrix_setting</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
</tbody>
|
109
|
+
</table></div>
|
110
|
+
</div>
|
111
|
+
<div class="refsect1">
|
112
|
+
<a name="GtkSourceSpaceDrawer.properties"></a><h2>Properties</h2>
|
113
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
114
|
+
<colgroup>
|
115
|
+
<col width="150px" class="properties_type">
|
116
|
+
<col width="300px" class="properties_name">
|
117
|
+
<col width="200px" class="properties_flags">
|
118
|
+
</colgroup>
|
119
|
+
<tbody>
|
120
|
+
<tr>
|
121
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
122
|
+
<td class="property_name"><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--enable-matrix" title="The “enable-matrix” property">enable-matrix</a></td>
|
123
|
+
<td class="property_flags">Read / Write / Construct</td>
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<td class="property_type">
|
127
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *</td>
|
128
|
+
<td class="property_name"><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property">matrix</a></td>
|
129
|
+
<td class="property_flags">Read / Write / Construct</td>
|
130
|
+
</tr>
|
131
|
+
</tbody>
|
132
|
+
</table></div>
|
133
|
+
</div>
|
134
|
+
<div class="refsect1">
|
135
|
+
<a name="GtkSourceSpaceDrawer.other"></a><h2>Types and Values</h2>
|
136
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
137
|
+
<colgroup>
|
138
|
+
<col width="150px" class="name">
|
139
|
+
<col class="description">
|
140
|
+
</colgroup>
|
141
|
+
<tbody>
|
142
|
+
<tr>
|
143
|
+
<td class="datatype_keyword"> </td>
|
144
|
+
<td class="function_name"><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer-struct" title="GtkSourceSpaceDrawer">GtkSourceSpaceDrawer</a></td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="datatype_keyword">enum</td>
|
148
|
+
<td class="function_name"><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceTypeFlags" title="enum GtkSourceSpaceTypeFlags">GtkSourceSpaceTypeFlags</a></td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td class="datatype_keyword">enum</td>
|
152
|
+
<td class="function_name"><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceLocationFlags" title="enum GtkSourceSpaceLocationFlags">GtkSourceSpaceLocationFlags</a></td>
|
153
|
+
</tr>
|
154
|
+
</tbody>
|
155
|
+
</table></div>
|
156
|
+
</div>
|
157
|
+
<div class="refsect1">
|
158
|
+
<a name="GtkSourceSpaceDrawer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
159
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
160
|
+
<span class="lineart">├──</span> GtkSourceSpaceLocationFlags
|
161
|
+
<span class="lineart">╰──</span> GtkSourceSpaceTypeFlags
|
162
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
163
|
+
<span class="lineart">╰──</span> GtkSourceSpaceDrawer
|
164
|
+
</pre>
|
165
|
+
</div>
|
166
|
+
<div class="refsect1">
|
167
|
+
<a name="GtkSourceSpaceDrawer.includes"></a><h2>Includes</h2>
|
168
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
169
|
+
</pre>
|
170
|
+
</div>
|
171
|
+
<div class="refsect1">
|
172
|
+
<a name="GtkSourceSpaceDrawer.description"></a><h2>Description</h2>
|
173
|
+
<p><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> provides a way to visualize white spaces, by drawing
|
174
|
+
symbols.</p>
|
175
|
+
<p>Call <a class="link" href="GtkSourceView.html#gtk-source-view-get-space-drawer" title="gtk_source_view_get_space_drawer ()"><code class="function">gtk_source_view_get_space_drawer()</code></a> to get the <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>
|
176
|
+
instance of a certain <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
177
|
+
<p>By default, no white spaces are drawn because the
|
178
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--enable-matrix" title="The “enable-matrix” property"><span class="type">“enable-matrix”</span></a> is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
179
|
+
<p>To draw white spaces, <a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-types-for-locations" title="gtk_source_space_drawer_set_types_for_locations ()"><code class="function">gtk_source_space_drawer_set_types_for_locations()</code></a> can
|
180
|
+
be called to set the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property (by default all
|
181
|
+
space types are enabled at all locations). Then call
|
182
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-enable-matrix" title="gtk_source_space_drawer_set_enable_matrix ()"><code class="function">gtk_source_space_drawer_set_enable_matrix()</code></a>.</p>
|
183
|
+
<p>For a finer-grained method, there is also the GtkSourceTag's
|
184
|
+
<a class="link" href="GtkSourceTag.html#GtkSourceTag--draw-spaces" title="The “draw-spaces” property"><span class="type">“draw-spaces”</span></a> property.</p>
|
185
|
+
<div class="refsect2">
|
186
|
+
<a name="id-1.3.10.4.8.7"></a><h3>Example</h3>
|
187
|
+
<p>To draw non-breaking spaces everywhere and draw all types of trailing spaces
|
188
|
+
except newlines:</p>
|
189
|
+
<div class="informalexample">
|
190
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
191
|
+
<tbody>
|
192
|
+
<tr>
|
193
|
+
<td class="listing_lines" align="right"><pre>1
|
194
|
+
2
|
195
|
+
3
|
196
|
+
4
|
197
|
+
5
|
198
|
+
6
|
199
|
+
7
|
200
|
+
8
|
201
|
+
9
|
202
|
+
10</pre></td>
|
203
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-types-for-locations">gtk_source_space_drawer_set_types_for_locations</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">space_drawer</span><span class="symbol">,</span>
|
204
|
+
<span class="normal"> <a href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-LOCATION-ALL:CAPS">GTK_SOURCE_SPACE_LOCATION_ALL</a></span><span class="symbol">,</span>
|
205
|
+
<span class="normal"> <a href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-TYPE-NBSP:CAPS">GTK_SOURCE_SPACE_TYPE_NBSP</a></span><span class="symbol">);</span>
|
206
|
+
|
207
|
+
<span class="function"><a href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-types-for-locations">gtk_source_space_drawer_set_types_for_locations</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">space_drawer</span><span class="symbol">,</span>
|
208
|
+
<span class="normal"> <a href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-LOCATION-TRAILING:CAPS">GTK_SOURCE_SPACE_LOCATION_TRAILING</a></span><span class="symbol">,</span>
|
209
|
+
<span class="normal"> <a href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-TYPE-ALL:CAPS">GTK_SOURCE_SPACE_TYPE_ALL</a> </span><span class="symbol">&</span>
|
210
|
+
<span class="normal"> </span><span class="symbol">~</span><span class="normal"><a href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-TYPE-NEWLINE:CAPS">GTK_SOURCE_SPACE_TYPE_NEWLINE</a></span><span class="symbol">);</span>
|
211
|
+
|
212
|
+
<span class="function"><a href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-enable-matrix">gtk_source_space_drawer_set_enable_matrix</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">space_drawer</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span></pre></td>
|
213
|
+
</tr>
|
214
|
+
</tbody>
|
215
|
+
</table>
|
216
|
+
</div>
|
217
|
+
|
218
|
+
<p></p>
|
219
|
+
</div>
|
220
|
+
<hr>
|
221
|
+
<div class="refsect2">
|
222
|
+
<a name="id-1.3.10.4.8.8"></a><h3>Use-case: draw unwanted white spaces</h3>
|
223
|
+
<p>A possible use-case is to draw only unwanted white spaces. Examples:</p>
|
224
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
225
|
+
<li class="listitem"><p>Draw all trailing spaces.</p></li>
|
226
|
+
<li class="listitem"><p>If the indentation and alignment must be done with spaces, draw tabs.</p></li>
|
227
|
+
</ul></div>
|
228
|
+
<p>And non-breaking spaces can always be drawn, everywhere, to distinguish them
|
229
|
+
from normal spaces.</p>
|
230
|
+
</div>
|
231
|
+
</div>
|
232
|
+
<div class="refsect1">
|
233
|
+
<a name="GtkSourceSpaceDrawer.functions_details"></a><h2>Functions</h2>
|
234
|
+
<div class="refsect2">
|
235
|
+
<a name="gtk-source-space-drawer-new"></a><h3>gtk_source_space_drawer_new ()</h3>
|
236
|
+
<pre class="programlisting"><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="returnvalue">GtkSourceSpaceDrawer</span></a> *
|
237
|
+
gtk_source_space_drawer_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
238
|
+
<p>Creates a new <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> object. Useful for storing space drawing
|
239
|
+
settings independently of a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
240
|
+
<div class="refsect3">
|
241
|
+
<a name="gtk-source-space-drawer-new.returns"></a><h4>Returns</h4>
|
242
|
+
<p> a new <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>.</p>
|
243
|
+
</div>
|
244
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
245
|
+
</div>
|
246
|
+
<hr>
|
247
|
+
<div class="refsect2">
|
248
|
+
<a name="gtk-source-space-drawer-set-types-for-locations"></a><h3>gtk_source_space_drawer_set_types_for_locations ()</h3>
|
249
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
250
|
+
gtk_source_space_drawer_set_types_for_locations
|
251
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *drawer</code></em>,
|
252
|
+
<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceLocationFlags" title="enum GtkSourceSpaceLocationFlags"><span class="type">GtkSourceSpaceLocationFlags</span></a> locations</code></em>,
|
253
|
+
<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceTypeFlags" title="enum GtkSourceSpaceTypeFlags"><span class="type">GtkSourceSpaceTypeFlags</span></a> types</code></em>);</pre>
|
254
|
+
<p>Modifies the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property at the specified
|
255
|
+
<em class="parameter"><code>locations</code></em>
|
256
|
+
.</p>
|
257
|
+
<div class="refsect3">
|
258
|
+
<a name="gtk-source-space-drawer-set-types-for-locations.parameters"></a><h4>Parameters</h4>
|
259
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
260
|
+
<colgroup>
|
261
|
+
<col width="150px" class="parameters_name">
|
262
|
+
<col class="parameters_description">
|
263
|
+
<col width="200px" class="parameters_annotations">
|
264
|
+
</colgroup>
|
265
|
+
<tbody>
|
266
|
+
<tr>
|
267
|
+
<td class="parameter_name"><p>drawer</p></td>
|
268
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>.</p></td>
|
269
|
+
<td class="parameter_annotations"> </td>
|
270
|
+
</tr>
|
271
|
+
<tr>
|
272
|
+
<td class="parameter_name"><p>locations</p></td>
|
273
|
+
<td class="parameter_description"><p>one or several <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceLocationFlags" title="enum GtkSourceSpaceLocationFlags"><span class="type">GtkSourceSpaceLocationFlags</span></a>.</p></td>
|
274
|
+
<td class="parameter_annotations"> </td>
|
275
|
+
</tr>
|
276
|
+
<tr>
|
277
|
+
<td class="parameter_name"><p>types</p></td>
|
278
|
+
<td class="parameter_description"><p>a combination of <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceTypeFlags" title="enum GtkSourceSpaceTypeFlags"><span class="type">GtkSourceSpaceTypeFlags</span></a>.</p></td>
|
279
|
+
<td class="parameter_annotations"> </td>
|
280
|
+
</tr>
|
281
|
+
</tbody>
|
282
|
+
</table></div>
|
283
|
+
</div>
|
284
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
285
|
+
</div>
|
286
|
+
<hr>
|
287
|
+
<div class="refsect2">
|
288
|
+
<a name="gtk-source-space-drawer-get-types-for-locations"></a><h3>gtk_source_space_drawer_get_types_for_locations ()</h3>
|
289
|
+
<pre class="programlisting"><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceTypeFlags" title="enum GtkSourceSpaceTypeFlags"><span class="returnvalue">GtkSourceSpaceTypeFlags</span></a>
|
290
|
+
gtk_source_space_drawer_get_types_for_locations
|
291
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *drawer</code></em>,
|
292
|
+
<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceLocationFlags" title="enum GtkSourceSpaceLocationFlags"><span class="type">GtkSourceSpaceLocationFlags</span></a> locations</code></em>);</pre>
|
293
|
+
<p>If only one location is specified, this function returns what kind of
|
294
|
+
white spaces are drawn at that location. The value is retrieved from the
|
295
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property.</p>
|
296
|
+
<p>If several locations are specified, this function returns the logical AND for
|
297
|
+
those locations. Which means that if a certain kind of white space is present
|
298
|
+
in the return value, then that kind of white space is drawn at all the
|
299
|
+
specified <em class="parameter"><code>locations</code></em>
|
300
|
+
.</p>
|
301
|
+
<div class="refsect3">
|
302
|
+
<a name="gtk-source-space-drawer-get-types-for-locations.parameters"></a><h4>Parameters</h4>
|
303
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
304
|
+
<colgroup>
|
305
|
+
<col width="150px" class="parameters_name">
|
306
|
+
<col class="parameters_description">
|
307
|
+
<col width="200px" class="parameters_annotations">
|
308
|
+
</colgroup>
|
309
|
+
<tbody>
|
310
|
+
<tr>
|
311
|
+
<td class="parameter_name"><p>drawer</p></td>
|
312
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>.</p></td>
|
313
|
+
<td class="parameter_annotations"> </td>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td class="parameter_name"><p>locations</p></td>
|
317
|
+
<td class="parameter_description"><p>one or several <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceLocationFlags" title="enum GtkSourceSpaceLocationFlags"><span class="type">GtkSourceSpaceLocationFlags</span></a>.</p></td>
|
318
|
+
<td class="parameter_annotations"> </td>
|
319
|
+
</tr>
|
320
|
+
</tbody>
|
321
|
+
</table></div>
|
322
|
+
</div>
|
323
|
+
<div class="refsect3">
|
324
|
+
<a name="gtk-source-space-drawer-get-types-for-locations.returns"></a><h4>Returns</h4>
|
325
|
+
<p> a combination of <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceTypeFlags" title="enum GtkSourceSpaceTypeFlags"><span class="type">GtkSourceSpaceTypeFlags</span></a>.</p>
|
326
|
+
</div>
|
327
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
328
|
+
</div>
|
329
|
+
<hr>
|
330
|
+
<div class="refsect2">
|
331
|
+
<a name="gtk-source-space-drawer-set-matrix"></a><h3>gtk_source_space_drawer_set_matrix ()</h3>
|
332
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
333
|
+
gtk_source_space_drawer_set_matrix (<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *drawer</code></em>,
|
334
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *matrix</code></em>);</pre>
|
335
|
+
<p>Sets a new value to the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property, as a
|
336
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. If <em class="parameter"><code>matrix</code></em>
|
337
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then an empty array is set.</p>
|
338
|
+
<p>If <em class="parameter"><code>matrix</code></em>
|
339
|
+
is floating, it is consumed.</p>
|
340
|
+
<p>The <a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-set-types-for-locations" title="gtk_source_space_drawer_set_types_for_locations ()"><code class="function">gtk_source_space_drawer_set_types_for_locations()</code></a> function may be more
|
341
|
+
convenient to use.</p>
|
342
|
+
<div class="refsect3">
|
343
|
+
<a name="gtk-source-space-drawer-set-matrix.parameters"></a><h4>Parameters</h4>
|
344
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
345
|
+
<colgroup>
|
346
|
+
<col width="150px" class="parameters_name">
|
347
|
+
<col class="parameters_description">
|
348
|
+
<col width="200px" class="parameters_annotations">
|
349
|
+
</colgroup>
|
350
|
+
<tbody>
|
351
|
+
<tr>
|
352
|
+
<td class="parameter_name"><p>drawer</p></td>
|
353
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>.</p></td>
|
354
|
+
<td class="parameter_annotations"> </td>
|
355
|
+
</tr>
|
356
|
+
<tr>
|
357
|
+
<td class="parameter_name"><p>matrix</p></td>
|
358
|
+
<td class="parameter_description"><p> the new matrix value, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
359
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
360
|
+
</tr>
|
361
|
+
</tbody>
|
362
|
+
</table></div>
|
363
|
+
</div>
|
364
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
365
|
+
</div>
|
366
|
+
<hr>
|
367
|
+
<div class="refsect2">
|
368
|
+
<a name="gtk-source-space-drawer-get-matrix"></a><h3>gtk_source_space_drawer_get_matrix ()</h3>
|
369
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
370
|
+
gtk_source_space_drawer_get_matrix (<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *drawer</code></em>);</pre>
|
371
|
+
<p>Gets the value of the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property, as a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>.
|
372
|
+
An empty array can be returned in case the matrix is a zero matrix.</p>
|
373
|
+
<p>The <a class="link" href="GtkSourceSpaceDrawer.html#gtk-source-space-drawer-get-types-for-locations" title="gtk_source_space_drawer_get_types_for_locations ()"><code class="function">gtk_source_space_drawer_get_types_for_locations()</code></a> function may be more
|
374
|
+
convenient to use.</p>
|
375
|
+
<div class="refsect3">
|
376
|
+
<a name="gtk-source-space-drawer-get-matrix.parameters"></a><h4>Parameters</h4>
|
377
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
378
|
+
<colgroup>
|
379
|
+
<col width="150px" class="parameters_name">
|
380
|
+
<col class="parameters_description">
|
381
|
+
<col width="200px" class="parameters_annotations">
|
382
|
+
</colgroup>
|
383
|
+
<tbody><tr>
|
384
|
+
<td class="parameter_name"><p>drawer</p></td>
|
385
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>.</p></td>
|
386
|
+
<td class="parameter_annotations"> </td>
|
387
|
+
</tr></tbody>
|
388
|
+
</table></div>
|
389
|
+
</div>
|
390
|
+
<div class="refsect3">
|
391
|
+
<a name="gtk-source-space-drawer-get-matrix.returns"></a><h4>Returns</h4>
|
392
|
+
<p> the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> value as a new floating <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>
|
393
|
+
instance.</p>
|
394
|
+
</div>
|
395
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
396
|
+
</div>
|
397
|
+
<hr>
|
398
|
+
<div class="refsect2">
|
399
|
+
<a name="gtk-source-space-drawer-set-enable-matrix"></a><h3>gtk_source_space_drawer_set_enable_matrix ()</h3>
|
400
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
401
|
+
gtk_source_space_drawer_set_enable_matrix
|
402
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *drawer</code></em>,
|
403
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable_matrix</code></em>);</pre>
|
404
|
+
<p>Sets whether the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property is enabled.</p>
|
405
|
+
<div class="refsect3">
|
406
|
+
<a name="gtk-source-space-drawer-set-enable-matrix.parameters"></a><h4>Parameters</h4>
|
407
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
408
|
+
<colgroup>
|
409
|
+
<col width="150px" class="parameters_name">
|
410
|
+
<col class="parameters_description">
|
411
|
+
<col width="200px" class="parameters_annotations">
|
412
|
+
</colgroup>
|
413
|
+
<tbody>
|
414
|
+
<tr>
|
415
|
+
<td class="parameter_name"><p>drawer</p></td>
|
416
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>.</p></td>
|
417
|
+
<td class="parameter_annotations"> </td>
|
418
|
+
</tr>
|
419
|
+
<tr>
|
420
|
+
<td class="parameter_name"><p>enable_matrix</p></td>
|
421
|
+
<td class="parameter_description"><p>the new value.</p></td>
|
422
|
+
<td class="parameter_annotations"> </td>
|
423
|
+
</tr>
|
424
|
+
</tbody>
|
425
|
+
</table></div>
|
426
|
+
</div>
|
427
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
428
|
+
</div>
|
429
|
+
<hr>
|
430
|
+
<div class="refsect2">
|
431
|
+
<a name="gtk-source-space-drawer-get-enable-matrix"></a><h3>gtk_source_space_drawer_get_enable_matrix ()</h3>
|
432
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
433
|
+
gtk_source_space_drawer_get_enable_matrix
|
434
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *drawer</code></em>);</pre>
|
435
|
+
<div class="refsect3">
|
436
|
+
<a name="gtk-source-space-drawer-get-enable-matrix.parameters"></a><h4>Parameters</h4>
|
437
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
438
|
+
<colgroup>
|
439
|
+
<col width="150px" class="parameters_name">
|
440
|
+
<col class="parameters_description">
|
441
|
+
<col width="200px" class="parameters_annotations">
|
442
|
+
</colgroup>
|
443
|
+
<tbody><tr>
|
444
|
+
<td class="parameter_name"><p>drawer</p></td>
|
445
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>.</p></td>
|
446
|
+
<td class="parameter_annotations"> </td>
|
447
|
+
</tr></tbody>
|
448
|
+
</table></div>
|
449
|
+
</div>
|
450
|
+
<div class="refsect3">
|
451
|
+
<a name="gtk-source-space-drawer-get-enable-matrix.returns"></a><h4>Returns</h4>
|
452
|
+
<p> whether the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property is enabled.</p>
|
453
|
+
</div>
|
454
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
455
|
+
</div>
|
456
|
+
<hr>
|
457
|
+
<div class="refsect2">
|
458
|
+
<a name="gtk-source-space-drawer-bind-matrix-setting"></a><h3>gtk_source_space_drawer_bind_matrix_setting ()</h3>
|
459
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
460
|
+
gtk_source_space_drawer_bind_matrix_setting
|
461
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *drawer</code></em>,
|
462
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSettings.html#GSettings-struct"><span class="type">GSettings</span></a> *settings</code></em>,
|
463
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
464
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSettings.html#GSettingsBindFlags"><span class="type">GSettingsBindFlags</span></a> flags</code></em>);</pre>
|
465
|
+
<p>Binds the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property to a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSettings.html#GSettings-struct"><span class="type">GSettings</span></a> key.</p>
|
466
|
+
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSettings.html#GSettings-struct"><span class="type">GSettings</span></a> key must be of the same type as the
|
467
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property, that is, <code class="literal">"au"</code>.</p>
|
468
|
+
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSettings.html#g-settings-bind"><code class="function">g_settings_bind()</code></a> function cannot be used, because the default GIO
|
469
|
+
mapping functions don't support <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> properties (maybe it will be
|
470
|
+
supported by a future GIO version, in which case this function can be
|
471
|
+
deprecated).</p>
|
472
|
+
<div class="refsect3">
|
473
|
+
<a name="gtk-source-space-drawer-bind-matrix-setting.parameters"></a><h4>Parameters</h4>
|
474
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
475
|
+
<colgroup>
|
476
|
+
<col width="150px" class="parameters_name">
|
477
|
+
<col class="parameters_description">
|
478
|
+
<col width="200px" class="parameters_annotations">
|
479
|
+
</colgroup>
|
480
|
+
<tbody>
|
481
|
+
<tr>
|
482
|
+
<td class="parameter_name"><p>drawer</p></td>
|
483
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> object.</p></td>
|
484
|
+
<td class="parameter_annotations"> </td>
|
485
|
+
</tr>
|
486
|
+
<tr>
|
487
|
+
<td class="parameter_name"><p>settings</p></td>
|
488
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSettings.html#GSettings-struct"><span class="type">GSettings</span></a> object.</p></td>
|
489
|
+
<td class="parameter_annotations"> </td>
|
490
|
+
</tr>
|
491
|
+
<tr>
|
492
|
+
<td class="parameter_name"><p>key</p></td>
|
493
|
+
<td class="parameter_description"><p>the <em class="parameter"><code>settings</code></em>
|
494
|
+
key to bind.</p></td>
|
495
|
+
<td class="parameter_annotations"> </td>
|
496
|
+
</tr>
|
497
|
+
<tr>
|
498
|
+
<td class="parameter_name"><p>flags</p></td>
|
499
|
+
<td class="parameter_description"><p>flags for the binding.</p></td>
|
500
|
+
<td class="parameter_annotations"> </td>
|
501
|
+
</tr>
|
502
|
+
</tbody>
|
503
|
+
</table></div>
|
504
|
+
</div>
|
505
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
506
|
+
</div>
|
507
|
+
</div>
|
508
|
+
<div class="refsect1">
|
509
|
+
<a name="GtkSourceSpaceDrawer.other_details"></a><h2>Types and Values</h2>
|
510
|
+
<div class="refsect2">
|
511
|
+
<a name="GtkSourceSpaceDrawer-struct"></a><h3>GtkSourceSpaceDrawer</h3>
|
512
|
+
<pre class="programlisting">typedef struct _GtkSourceSpaceDrawer GtkSourceSpaceDrawer;</pre>
|
513
|
+
</div>
|
514
|
+
<hr>
|
515
|
+
<div class="refsect2">
|
516
|
+
<a name="GtkSourceSpaceTypeFlags"></a><h3>enum GtkSourceSpaceTypeFlags</h3>
|
517
|
+
<p><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceTypeFlags" title="enum GtkSourceSpaceTypeFlags"><span class="type">GtkSourceSpaceTypeFlags</span></a> contains flags for white space types.</p>
|
518
|
+
<div class="refsect3">
|
519
|
+
<a name="GtkSourceSpaceTypeFlags.members"></a><h4>Members</h4>
|
520
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
521
|
+
<colgroup>
|
522
|
+
<col width="300px" class="enum_members_name">
|
523
|
+
<col class="enum_members_description">
|
524
|
+
<col width="200px" class="enum_members_annotations">
|
525
|
+
</colgroup>
|
526
|
+
<tbody>
|
527
|
+
<tr>
|
528
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-TYPE-NONE:CAPS"></a>GTK_SOURCE_SPACE_TYPE_NONE</p></td>
|
529
|
+
<td class="enum_member_description">
|
530
|
+
<p>No flags.</p>
|
531
|
+
</td>
|
532
|
+
<td class="enum_member_annotations"> </td>
|
533
|
+
</tr>
|
534
|
+
<tr>
|
535
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-TYPE-SPACE:CAPS"></a>GTK_SOURCE_SPACE_TYPE_SPACE</p></td>
|
536
|
+
<td class="enum_member_description">
|
537
|
+
<p>Space character.</p>
|
538
|
+
</td>
|
539
|
+
<td class="enum_member_annotations"> </td>
|
540
|
+
</tr>
|
541
|
+
<tr>
|
542
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-TYPE-TAB:CAPS"></a>GTK_SOURCE_SPACE_TYPE_TAB</p></td>
|
543
|
+
<td class="enum_member_description">
|
544
|
+
<p>Tab character.</p>
|
545
|
+
</td>
|
546
|
+
<td class="enum_member_annotations"> </td>
|
547
|
+
</tr>
|
548
|
+
<tr>
|
549
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-TYPE-NEWLINE:CAPS"></a>GTK_SOURCE_SPACE_TYPE_NEWLINE</p></td>
|
550
|
+
<td class="enum_member_description">
|
551
|
+
<p>Line break character. If the
|
552
|
+
<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--implicit-trailing-newline" title="The “implicit-trailing-newline” property"><span class="type">“implicit-trailing-newline”</span></a> property is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>,
|
553
|
+
<a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> also draws a line break at the end of the buffer.</p>
|
554
|
+
</td>
|
555
|
+
<td class="enum_member_annotations"> </td>
|
556
|
+
</tr>
|
557
|
+
<tr>
|
558
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-TYPE-NBSP:CAPS"></a>GTK_SOURCE_SPACE_TYPE_NBSP</p></td>
|
559
|
+
<td class="enum_member_description">
|
560
|
+
<p>Non-breaking space character.</p>
|
561
|
+
</td>
|
562
|
+
<td class="enum_member_annotations"> </td>
|
563
|
+
</tr>
|
564
|
+
<tr>
|
565
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-TYPE-ALL:CAPS"></a>GTK_SOURCE_SPACE_TYPE_ALL</p></td>
|
566
|
+
<td class="enum_member_description">
|
567
|
+
<p>All white spaces.</p>
|
568
|
+
</td>
|
569
|
+
<td class="enum_member_annotations"> </td>
|
570
|
+
</tr>
|
571
|
+
</tbody>
|
572
|
+
</table></div>
|
573
|
+
</div>
|
574
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
575
|
+
</div>
|
576
|
+
<hr>
|
577
|
+
<div class="refsect2">
|
578
|
+
<a name="GtkSourceSpaceLocationFlags"></a><h3>enum GtkSourceSpaceLocationFlags</h3>
|
579
|
+
<p><a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceLocationFlags" title="enum GtkSourceSpaceLocationFlags"><span class="type">GtkSourceSpaceLocationFlags</span></a> contains flags for white space locations.</p>
|
580
|
+
<p>If a line contains only white spaces (no text), the white spaces match both
|
581
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-LOCATION-LEADING:CAPS"><code class="literal">GTK_SOURCE_SPACE_LOCATION_LEADING</code></a> and <a class="link" href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-LOCATION-TRAILING:CAPS"><code class="literal">GTK_SOURCE_SPACE_LOCATION_TRAILING</code></a>.</p>
|
582
|
+
<div class="refsect3">
|
583
|
+
<a name="GtkSourceSpaceLocationFlags.members"></a><h4>Members</h4>
|
584
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
585
|
+
<colgroup>
|
586
|
+
<col width="300px" class="enum_members_name">
|
587
|
+
<col class="enum_members_description">
|
588
|
+
<col width="200px" class="enum_members_annotations">
|
589
|
+
</colgroup>
|
590
|
+
<tbody>
|
591
|
+
<tr>
|
592
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-LOCATION-NONE:CAPS"></a>GTK_SOURCE_SPACE_LOCATION_NONE</p></td>
|
593
|
+
<td class="enum_member_description">
|
594
|
+
<p>No flags.</p>
|
595
|
+
</td>
|
596
|
+
<td class="enum_member_annotations"> </td>
|
597
|
+
</tr>
|
598
|
+
<tr>
|
599
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-LOCATION-LEADING:CAPS"></a>GTK_SOURCE_SPACE_LOCATION_LEADING</p></td>
|
600
|
+
<td class="enum_member_description">
|
601
|
+
<p>Leading white spaces on a line, i.e. the
|
602
|
+
indentation.</p>
|
603
|
+
</td>
|
604
|
+
<td class="enum_member_annotations"> </td>
|
605
|
+
</tr>
|
606
|
+
<tr>
|
607
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-LOCATION-INSIDE-TEXT:CAPS"></a>GTK_SOURCE_SPACE_LOCATION_INSIDE_TEXT</p></td>
|
608
|
+
<td class="enum_member_description">
|
609
|
+
<p>White spaces inside a line of text.</p>
|
610
|
+
</td>
|
611
|
+
<td class="enum_member_annotations"> </td>
|
612
|
+
</tr>
|
613
|
+
<tr>
|
614
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-LOCATION-TRAILING:CAPS"></a>GTK_SOURCE_SPACE_LOCATION_TRAILING</p></td>
|
615
|
+
<td class="enum_member_description">
|
616
|
+
<p>Trailing white spaces on a line.</p>
|
617
|
+
</td>
|
618
|
+
<td class="enum_member_annotations"> </td>
|
619
|
+
</tr>
|
620
|
+
<tr>
|
621
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SPACE-LOCATION-ALL:CAPS"></a>GTK_SOURCE_SPACE_LOCATION_ALL</p></td>
|
622
|
+
<td class="enum_member_description">
|
623
|
+
<p>White spaces anywhere.</p>
|
624
|
+
</td>
|
625
|
+
<td class="enum_member_annotations"> </td>
|
626
|
+
</tr>
|
627
|
+
</tbody>
|
628
|
+
</table></div>
|
629
|
+
</div>
|
630
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
631
|
+
</div>
|
632
|
+
</div>
|
633
|
+
<div class="refsect1">
|
634
|
+
<a name="GtkSourceSpaceDrawer.property-details"></a><h2>Property Details</h2>
|
635
|
+
<div class="refsect2">
|
636
|
+
<a name="GtkSourceSpaceDrawer--enable-matrix"></a><h3>The <code class="literal">“enable-matrix”</code> property</h3>
|
637
|
+
<pre class="programlisting"> “enable-matrix” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
638
|
+
<p>Whether the <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceDrawer--matrix" title="The “matrix” property"><span class="type">“matrix”</span></a> property is enabled.</p>
|
639
|
+
<p>Flags: Read / Write / Construct</p>
|
640
|
+
<p>Default value: FALSE</p>
|
641
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
642
|
+
</div>
|
643
|
+
<hr>
|
644
|
+
<div class="refsect2">
|
645
|
+
<a name="GtkSourceSpaceDrawer--matrix"></a><h3>The <code class="literal">“matrix”</code> property</h3>
|
646
|
+
<pre class="programlisting"> “matrix” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *</pre>
|
647
|
+
<p>The :matrix property is a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> property to specify where and
|
648
|
+
what kind of white spaces to draw.</p>
|
649
|
+
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> is of type <code class="literal">"au"</code>, an array of unsigned integers. Each
|
650
|
+
integer is a combination of <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceTypeFlags" title="enum GtkSourceSpaceTypeFlags"><span class="type">GtkSourceSpaceTypeFlags</span></a>. There is one
|
651
|
+
integer for each <a class="link" href="GtkSourceSpaceDrawer.html#GtkSourceSpaceLocationFlags" title="enum GtkSourceSpaceLocationFlags"><span class="type">GtkSourceSpaceLocationFlags</span></a>, in the same order as
|
652
|
+
they are defined in the enum (<a class="link" href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-LOCATION-NONE:CAPS"><code class="literal">GTK_SOURCE_SPACE_LOCATION_NONE</code></a> and
|
653
|
+
<a class="link" href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-LOCATION-ALL:CAPS"><code class="literal">GTK_SOURCE_SPACE_LOCATION_ALL</code></a> are not taken into account).</p>
|
654
|
+
<p>If the array is shorter than the number of locations, then the value
|
655
|
+
for the missing locations will be <a class="link" href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-TYPE-NONE:CAPS"><code class="literal">GTK_SOURCE_SPACE_TYPE_NONE</code></a>.</p>
|
656
|
+
<p>By default, <a class="link" href="GtkSourceSpaceDrawer.html#GTK-SOURCE-SPACE-TYPE-ALL:CAPS"><code class="literal">GTK_SOURCE_SPACE_TYPE_ALL</code></a> is set for all locations.</p>
|
657
|
+
<p>Flags: Read / Write / Construct</p>
|
658
|
+
<p>Allowed values: GVariant<au></p>
|
659
|
+
<p>Default value: [uint32 15, 15, 15]</p>
|
660
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
661
|
+
</div>
|
662
|
+
</div>
|
663
|
+
<div class="refsect1">
|
664
|
+
<a name="GtkSourceSpaceDrawer.see-also"></a><h2>See Also</h2>
|
665
|
+
<p><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p>
|
666
|
+
</div>
|
667
|
+
</div>
|
668
|
+
<div class="footer">
|
669
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
670
|
+
</body>
|
671
|
+
</html>
|