gtksourceview3 3.1.6-x64-mingw32 → 3.1.7-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +1 -1
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +188 -200
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +91 -106
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +39 -53
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +151 -151
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +43 -75
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +185 -262
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +85 -113
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +163 -163
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSpaceDrawer.html +39 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +175 -191
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +44 -25
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +25 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +46 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +4 -0
- 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 +6 -6
@@ -83,7 +83,7 @@
|
|
83
83
|
</tr>
|
84
84
|
<tr>
|
85
85
|
<td class="function_type">
|
86
|
-
<a href="/home/
|
86
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
|
87
87
|
</td>
|
88
88
|
<td class="function_name">
|
89
89
|
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-location" title="gtk_source_file_loader_get_location ()">gtk_source_file_loader_get_location</a> <span class="c_punctuation">()</span>
|
@@ -91,7 +91,7 @@
|
|
91
91
|
</tr>
|
92
92
|
<tr>
|
93
93
|
<td class="function_type">
|
94
|
-
<a href="/home/
|
94
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="returnvalue">GInputStream</span></a> *
|
95
95
|
</td>
|
96
96
|
<td class="function_name">
|
97
97
|
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-input-stream" title="gtk_source_file_loader_get_input_stream ()">gtk_source_file_loader_get_input_stream</a> <span class="c_punctuation">()</span>
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</tr>
|
108
108
|
<tr>
|
109
109
|
<td class="function_type">
|
110
|
-
<a href="/home/
|
110
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
111
111
|
</td>
|
112
112
|
<td class="function_name">
|
113
113
|
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-finish" title="gtk_source_file_loader_load_finish ()">gtk_source_file_loader_load_finish</a> <span class="c_punctuation">()</span>
|
@@ -162,13 +162,13 @@
|
|
162
162
|
</tr>
|
163
163
|
<tr>
|
164
164
|
<td class="property_type">
|
165
|
-
<a href="/home/
|
165
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *</td>
|
166
166
|
<td class="property_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--input-stream" title="The “input-stream” property">input-stream</a></td>
|
167
167
|
<td class="property_flags">Read / Write / Construct Only</td>
|
168
168
|
</tr>
|
169
169
|
<tr>
|
170
170
|
<td class="property_type">
|
171
|
-
<a href="/home/
|
171
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *</td>
|
172
172
|
<td class="property_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--location" title="The “location” property">location</a></td>
|
173
173
|
<td class="property_flags">Read / Write / Construct Only</td>
|
174
174
|
</tr>
|
@@ -200,9 +200,9 @@
|
|
200
200
|
</div>
|
201
201
|
<div class="refsect1">
|
202
202
|
<a name="GtkSourceFileLoader.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
203
|
-
<pre class="screen"> <a href="/home/
|
203
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
204
204
|
<span class="lineart">╰──</span> GtkSourceFileLoaderError
|
205
|
-
<a href="/home/
|
205
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
206
206
|
<span class="lineart">╰──</span> GtkSourceFileLoader
|
207
207
|
</pre>
|
208
208
|
</div>
|
@@ -213,8 +213,8 @@
|
|
213
213
|
</div>
|
214
214
|
<div class="refsect1">
|
215
215
|
<a name="GtkSourceFileLoader.description"></a><h2>Description</h2>
|
216
|
-
<p>A <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object permits to load the contents of a <a href="/home/
|
217
|
-
<a href="/home/
|
216
|
+
<p>A <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object permits to load the contents of a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> or a
|
217
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> into a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p>
|
218
218
|
<p>A file loader should be used only for one load operation, including errors
|
219
219
|
handling. If an error occurs, you can reconfigure the loader and relaunch the
|
220
220
|
operation with <a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-async" title="gtk_source_file_loader_load_async ()"><code class="function">gtk_source_file_loader_load_async()</code></a>.</p>
|
@@ -223,10 +223,10 @@ operation with <a class="link" href="GtkSourceFileLoader.html#gtk-source-file-lo
|
|
223
223
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-end-not-undoable-action" title="gtk_source_buffer_end_not_undoable_action ()"><code class="function">gtk_source_buffer_end_not_undoable_action()</code></a> are called, which delete the
|
224
224
|
undo/redo history.</p>
|
225
225
|
<p>After a file loading, the buffer is reset to the contents provided by the
|
226
|
-
<a href="/home/
|
227
|
-
<a href="
|
226
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> or <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a>, so the buffer is set as “unmodified”, that is,
|
227
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a> is called with <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. If the contents isn't
|
228
228
|
saved somewhere (for example if you load from stdin), then you should
|
229
|
-
probably call <a href="
|
229
|
+
probably call <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a> with <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> after calling
|
230
230
|
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-finish" title="gtk_source_file_loader_load_finish ()"><code class="function">gtk_source_file_loader_load_finish()</code></a>.</p>
|
231
231
|
</div>
|
232
232
|
<div class="refsect1">
|
@@ -277,7 +277,7 @@ the <em class="parameter"><code>buffer</code></em>
|
|
277
277
|
gtk_source_file_loader_new_from_stream
|
278
278
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
279
279
|
<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>,
|
280
|
-
<em class="parameter"><code><a href="/home/
|
280
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>);</pre>
|
281
281
|
<p>Creates a new <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object. The contents is read from <em class="parameter"><code>stream</code></em>
|
282
282
|
.</p>
|
283
283
|
<div class="refsect3">
|
@@ -301,7 +301,7 @@ gtk_source_file_loader_new_from_stream
|
|
301
301
|
</tr>
|
302
302
|
<tr>
|
303
303
|
<td class="parameter_name"><p>stream</p></td>
|
304
|
-
<td class="parameter_description"><p>the <a href="/home/
|
304
|
+
<td class="parameter_description"><p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load, e.g. stdin.</p></td>
|
305
305
|
<td class="parameter_annotations"> </td>
|
306
306
|
</tr>
|
307
307
|
</tbody>
|
@@ -319,7 +319,7 @@ gtk_source_file_loader_new_from_stream
|
|
319
319
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
320
320
|
gtk_source_file_loader_set_candidate_encodings
|
321
321
|
(<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>,
|
322
|
-
<em class="parameter"><code><a href="/home/
|
322
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *candidate_encodings</code></em>);</pre>
|
323
323
|
<p>Sets the candidate encodings for the file loading. The encodings are tried in
|
324
324
|
the same order as the list.</p>
|
325
325
|
<p>For convenience, <em class="parameter"><code>candidate_encodings</code></em>
|
@@ -348,7 +348,7 @@ occurrence of a duplicated encoding is kept in the list.</p>
|
|
348
348
|
</tr>
|
349
349
|
<tr>
|
350
350
|
<td class="parameter_name"><p>candidate_encodings</p></td>
|
351
|
-
<td class="parameter_description"><p>
|
351
|
+
<td class="parameter_description"><p>a list of
|
352
352
|
<a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a>s. </p></td>
|
353
353
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSourceEncoding]</span></td>
|
354
354
|
</tr>
|
@@ -379,7 +379,7 @@ gtk_source_file_loader_get_buffer (<em class="parameter"><code><a class="link" h
|
|
379
379
|
</div>
|
380
380
|
<div class="refsect3">
|
381
381
|
<a name="gtk-source-file-loader-get-buffer.returns"></a><h4>Returns</h4>
|
382
|
-
<p>
|
382
|
+
<p>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to load the contents into. </p>
|
383
383
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
384
384
|
</div>
|
385
385
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -406,7 +406,7 @@ gtk_source_file_loader_get_file (<em class="parameter"><code><a class="link" hre
|
|
406
406
|
</div>
|
407
407
|
<div class="refsect3">
|
408
408
|
<a name="gtk-source-file-loader-get-file.returns"></a><h4>Returns</h4>
|
409
|
-
<p>
|
409
|
+
<p>the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>. </p>
|
410
410
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
411
411
|
</div>
|
412
412
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -414,7 +414,7 @@ gtk_source_file_loader_get_file (<em class="parameter"><code><a class="link" hre
|
|
414
414
|
<hr>
|
415
415
|
<div class="refsect2">
|
416
416
|
<a name="gtk-source-file-loader-get-location"></a><h3>gtk_source_file_loader_get_location ()</h3>
|
417
|
-
<pre class="programlisting"><a href="/home/
|
417
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
|
418
418
|
gtk_source_file_loader_get_location (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
419
419
|
<div class="refsect3">
|
420
420
|
<a name="gtk-source-file-loader-get-location.parameters"></a><h4>Parameters</h4>
|
@@ -433,7 +433,7 @@ gtk_source_file_loader_get_location (<em class="parameter"><code><a class="link"
|
|
433
433
|
</div>
|
434
434
|
<div class="refsect3">
|
435
435
|
<a name="gtk-source-file-loader-get-location.returns"></a><h4>Returns</h4>
|
436
|
-
<p>
|
436
|
+
<p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> to load, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
437
437
|
if an input stream is used. </p>
|
438
438
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
439
439
|
</div>
|
@@ -442,7 +442,7 @@ if an input stream is used. </p>
|
|
442
442
|
<hr>
|
443
443
|
<div class="refsect2">
|
444
444
|
<a name="gtk-source-file-loader-get-input-stream"></a><h3>gtk_source_file_loader_get_input_stream ()</h3>
|
445
|
-
<pre class="programlisting"><a href="/home/
|
445
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="returnvalue">GInputStream</span></a> *
|
446
446
|
gtk_source_file_loader_get_input_stream
|
447
447
|
(<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
448
448
|
<div class="refsect3">
|
@@ -462,8 +462,8 @@ gtk_source_file_loader_get_input_stream
|
|
462
462
|
</div>
|
463
463
|
<div class="refsect3">
|
464
464
|
<a name="gtk-source-file-loader-get-input-stream.returns"></a><h4>Returns</h4>
|
465
|
-
<p>
|
466
|
-
if a <a href="/home/
|
465
|
+
<p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
466
|
+
if a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> is used. </p>
|
467
467
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
468
468
|
</div>
|
469
469
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -473,15 +473,15 @@ if a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/h
|
|
473
473
|
<a name="gtk-source-file-loader-load-async"></a><h3>gtk_source_file_loader_load_async ()</h3>
|
474
474
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
475
475
|
gtk_source_file_loader_load_async (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>,
|
476
|
-
<em class="parameter"><code><a href="/home/
|
477
|
-
<em class="parameter"><code><a href="/home/
|
478
|
-
<em class="parameter"><code><a href="/home/
|
479
|
-
<em class="parameter"><code><a href="/home/
|
480
|
-
<em class="parameter"><code><a href="/home/
|
481
|
-
<em class="parameter"><code><a href="/home/
|
482
|
-
<em class="parameter"><code><a href="/home/
|
476
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> io_priority</code></em>,
|
477
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
478
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFileProgressCallback"><span class="type">GFileProgressCallback</span></a> progress_callback</code></em>,
|
479
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> progress_callback_data</code></em>,
|
480
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> progress_callback_notify</code></em>,
|
481
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
482
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
483
483
|
<p>Loads asynchronously the file or input stream contents into the
|
484
|
-
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>. See the <a href="/home/
|
484
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>. See the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> documentation to know how to use this
|
485
485
|
function.</p>
|
486
486
|
<div class="refsect3">
|
487
487
|
<a name="gtk-source-file-loader-load-async.parameters"></a><h4>Parameters</h4>
|
@@ -499,39 +499,39 @@ function.</p>
|
|
499
499
|
</tr>
|
500
500
|
<tr>
|
501
501
|
<td class="parameter_name"><p>io_priority</p></td>
|
502
|
-
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="/home/
|
503
|
-
<a href="/home/
|
502
|
+
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-LOW:CAPS"><code class="literal">G_PRIORITY_LOW</code></a>,
|
503
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a> or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a>.</p></td>
|
504
504
|
<td class="parameter_annotations"> </td>
|
505
505
|
</tr>
|
506
506
|
<tr>
|
507
507
|
<td class="parameter_name"><p>cancellable</p></td>
|
508
|
-
<td class="parameter_description"><p>
|
508
|
+
<td class="parameter_description"><p>optional <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
509
509
|
<td class="parameter_annotations"><span class="annotation">[<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>
|
510
510
|
</tr>
|
511
511
|
<tr>
|
512
512
|
<td class="parameter_name"><p>progress_callback</p></td>
|
513
|
-
<td class="parameter_description"><p>
|
514
|
-
progress information, or <a href="/home/
|
513
|
+
<td class="parameter_description"><p>function to call back with
|
514
|
+
progress information, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if progress information is not needed. </p></td>
|
515
515
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</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>
|
516
516
|
</tr>
|
517
517
|
<tr>
|
518
518
|
<td class="parameter_name"><p>progress_callback_data</p></td>
|
519
|
-
<td class="parameter_description"><p>
|
519
|
+
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>progress_callback</code></em>
|
520
520
|
. </p></td>
|
521
521
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
522
522
|
</tr>
|
523
523
|
<tr>
|
524
524
|
<td class="parameter_name"><p>progress_callback_notify</p></td>
|
525
|
-
<td class="parameter_description"><p>
|
525
|
+
<td class="parameter_description"><p>function to call on
|
526
526
|
<em class="parameter"><code>progress_callback_data</code></em>
|
527
527
|
when the <em class="parameter"><code>progress_callback</code></em>
|
528
528
|
is no longer needed, or
|
529
|
-
<a href="/home/
|
529
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
530
530
|
<td class="parameter_annotations"><span class="annotation">[<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>
|
531
531
|
</tr>
|
532
532
|
<tr>
|
533
533
|
<td class="parameter_name"><p>callback</p></td>
|
534
|
-
<td class="parameter_description"><p>
|
534
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is
|
535
535
|
satisfied. </p></td>
|
536
536
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
537
537
|
</tr>
|
@@ -549,10 +549,10 @@ satisfied. </p></td>
|
|
549
549
|
<hr>
|
550
550
|
<div class="refsect2">
|
551
551
|
<a name="gtk-source-file-loader-load-finish"></a><h3>gtk_source_file_loader_load_finish ()</h3>
|
552
|
-
<pre class="programlisting"><a href="/home/
|
552
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
553
553
|
gtk_source_file_loader_load_finish (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>,
|
554
|
-
<em class="parameter"><code><a href="/home/
|
555
|
-
<em class="parameter"><code><a href="/home/
|
554
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
555
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
556
556
|
<p>Finishes a file loading started with <a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-async" title="gtk_source_file_loader_load_async ()"><code class="function">gtk_source_file_loader_load_async()</code></a>.</p>
|
557
557
|
<p>If the contents has been loaded, the following <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> properties will
|
558
558
|
be updated: the location, the encoding, the newline type and the compression
|
@@ -573,12 +573,12 @@ type.</p>
|
|
573
573
|
</tr>
|
574
574
|
<tr>
|
575
575
|
<td class="parameter_name"><p>result</p></td>
|
576
|
-
<td class="parameter_description"><p>a <a href="/home/
|
576
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>.</p></td>
|
577
577
|
<td class="parameter_annotations"> </td>
|
578
578
|
</tr>
|
579
579
|
<tr>
|
580
580
|
<td class="parameter_name"><p>error</p></td>
|
581
|
-
<td class="parameter_description"><p>a <a href="/home/
|
581
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
582
582
|
<td class="parameter_annotations"> </td>
|
583
583
|
</tr>
|
584
584
|
</tbody>
|
@@ -746,8 +746,8 @@ reference to the file.</p>
|
|
746
746
|
<hr>
|
747
747
|
<div class="refsect2">
|
748
748
|
<a name="GtkSourceFileLoader--input-stream"></a><h3>The <code class="literal">“input-stream”</code> property</h3>
|
749
|
-
<pre class="programlisting"> “input-stream” <a href="/home/
|
750
|
-
<p>The <a href="/home/
|
749
|
+
<pre class="programlisting"> “input-stream” <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *</pre>
|
750
|
+
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load. Useful for reading stdin. If this property
|
751
751
|
is set, the <a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--location" title="The “location” property"><span class="type">“location”</span></a> property is ignored.</p>
|
752
752
|
<p>Flags: Read / Write / Construct Only</p>
|
753
753
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -755,9 +755,9 @@ is set, the <a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--
|
|
755
755
|
<hr>
|
756
756
|
<div class="refsect2">
|
757
757
|
<a name="GtkSourceFileLoader--location"></a><h3>The <code class="literal">“location”</code> property</h3>
|
758
|
-
<pre class="programlisting"> “location” <a href="/home/
|
759
|
-
<p>The <a href="/home/
|
760
|
-
<a href="/home/
|
758
|
+
<pre class="programlisting"> “location” <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *</pre>
|
759
|
+
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> to load. If the <a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--input-stream" title="The “input-stream” property"><span class="type">“input-stream”</span></a> is
|
760
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, by default the location is taken from the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> at
|
761
761
|
construction time.</p>
|
762
762
|
<p>Flags: Read / Write / Construct Only</p>
|
763
763
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -75,7 +75,7 @@
|
|
75
75
|
</tr>
|
76
76
|
<tr>
|
77
77
|
<td class="function_type">
|
78
|
-
<a href="/home/
|
78
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
|
79
79
|
</td>
|
80
80
|
<td class="function_name">
|
81
81
|
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-location" title="gtk_source_file_saver_get_location ()">gtk_source_file_saver_get_location</a> <span class="c_punctuation">()</span>
|
@@ -154,7 +154,7 @@
|
|
154
154
|
</tr>
|
155
155
|
<tr>
|
156
156
|
<td class="function_type">
|
157
|
-
<a href="/home/
|
157
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
158
158
|
</td>
|
159
159
|
<td class="function_name">
|
160
160
|
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-finish" title="gtk_source_file_saver_save_finish ()">gtk_source_file_saver_save_finish</a> <span class="c_punctuation">()</span>
|
@@ -202,7 +202,7 @@
|
|
202
202
|
</tr>
|
203
203
|
<tr>
|
204
204
|
<td class="property_type">
|
205
|
-
<a href="/home/
|
205
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *</td>
|
206
206
|
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--location" title="The “location” property">location</a></td>
|
207
207
|
<td class="property_flags">Read / Write / Construct Only</td>
|
208
208
|
</tr>
|
@@ -243,11 +243,11 @@
|
|
243
243
|
</div>
|
244
244
|
<div class="refsect1">
|
245
245
|
<a name="GtkSourceFileSaver.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
246
|
-
<pre class="screen"> <a href="/home/
|
246
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
247
247
|
<span class="lineart">╰──</span> GtkSourceFileSaverError
|
248
|
-
<a href="/home/
|
248
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
249
249
|
<span class="lineart">╰──</span> GtkSourceFileSaverFlags
|
250
|
-
<a href="/home/
|
250
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
251
251
|
<span class="lineart">╰──</span> GtkSourceFileSaver
|
252
252
|
</pre>
|
253
253
|
</div>
|
@@ -259,7 +259,7 @@
|
|
259
259
|
<div class="refsect1">
|
260
260
|
<a name="GtkSourceFileSaver.description"></a><h2>Description</h2>
|
261
261
|
<p>A <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object permits to save a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> into a
|
262
|
-
<a href="/home/
|
262
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a>.</p>
|
263
263
|
<p>A file saver should be used only for one save operation, including errors
|
264
264
|
handling. If an error occurs, you can reconfigure the saver and relaunch the
|
265
265
|
operation with <a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-async" title="gtk_source_file_saver_save_async ()"><code class="function">gtk_source_file_saver_save_async()</code></a>.</p>
|
@@ -276,7 +276,7 @@ gtk_source_file_saver_new (<em class="parameter"><code><a class="link" href="Gtk
|
|
276
276
|
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>'s location.</p>
|
277
277
|
<p>This constructor is suitable for a simple "save" operation, when the <em class="parameter"><code>file</code></em>
|
278
278
|
|
279
|
-
already contains a non-<a href="/home/
|
279
|
+
already contains a non-<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a class="link" href="GtkSourceFile.html#GtkSourceFile--location" title="The “location” property"><span class="type">“location”</span></a>.</p>
|
280
280
|
<div class="refsect3">
|
281
281
|
<a name="gtk-source-file-saver-new.parameters"></a><h4>Parameters</h4>
|
282
282
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -311,7 +311,7 @@ already contains a non-<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/loc
|
|
311
311
|
<pre class="programlisting"><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="returnvalue">GtkSourceFileSaver</span></a> *
|
312
312
|
gtk_source_file_saver_new_with_target (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
313
313
|
<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>,
|
314
|
-
<em class="parameter"><code><a href="/home/
|
314
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *target_location</code></em>);</pre>
|
315
315
|
<p>Creates a new <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object with a target location. When the
|
316
316
|
file saving is finished successfully, <em class="parameter"><code>target_location</code></em>
|
317
317
|
is set to the <em class="parameter"><code>file</code></em>
|
@@ -341,7 +341,7 @@ buffer for the first time.</p>
|
|
341
341
|
</tr>
|
342
342
|
<tr>
|
343
343
|
<td class="parameter_name"><p>target_location</p></td>
|
344
|
-
<td class="parameter_description"><p>the <a href="/home/
|
344
|
+
<td class="parameter_description"><p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> where to save the buffer to.</p></td>
|
345
345
|
<td class="parameter_annotations"> </td>
|
346
346
|
</tr>
|
347
347
|
</tbody>
|
@@ -375,7 +375,7 @@ gtk_source_file_saver_get_buffer (<em class="parameter"><code><a class="link" hr
|
|
375
375
|
</div>
|
376
376
|
<div class="refsect3">
|
377
377
|
<a name="gtk-source-file-saver-get-buffer.returns"></a><h4>Returns</h4>
|
378
|
-
<p>
|
378
|
+
<p>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to save. </p>
|
379
379
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
380
380
|
</div>
|
381
381
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -402,7 +402,7 @@ gtk_source_file_saver_get_file (<em class="parameter"><code><a class="link" href
|
|
402
402
|
</div>
|
403
403
|
<div class="refsect3">
|
404
404
|
<a name="gtk-source-file-saver-get-file.returns"></a><h4>Returns</h4>
|
405
|
-
<p>
|
405
|
+
<p>the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>. </p>
|
406
406
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
407
407
|
</div>
|
408
408
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -410,7 +410,7 @@ gtk_source_file_saver_get_file (<em class="parameter"><code><a class="link" href
|
|
410
410
|
<hr>
|
411
411
|
<div class="refsect2">
|
412
412
|
<a name="gtk-source-file-saver-get-location"></a><h3>gtk_source_file_saver_get_location ()</h3>
|
413
|
-
<pre class="programlisting"><a href="/home/
|
413
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
|
414
414
|
gtk_source_file_saver_get_location (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
415
415
|
<div class="refsect3">
|
416
416
|
<a name="gtk-source-file-saver-get-location.parameters"></a><h4>Parameters</h4>
|
@@ -429,7 +429,7 @@ gtk_source_file_saver_get_location (<em class="parameter"><code><a class="link"
|
|
429
429
|
</div>
|
430
430
|
<div class="refsect3">
|
431
431
|
<a name="gtk-source-file-saver-get-location.returns"></a><h4>Returns</h4>
|
432
|
-
<p>
|
432
|
+
<p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> where to save the buffer to. </p>
|
433
433
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
434
434
|
</div>
|
435
435
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -441,7 +441,7 @@ gtk_source_file_saver_get_location (<em class="parameter"><code><a class="link"
|
|
441
441
|
gtk_source_file_saver_set_encoding (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
442
442
|
<em class="parameter"><code>const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a> *encoding</code></em>);</pre>
|
443
443
|
<p>Sets the encoding. If <em class="parameter"><code>encoding</code></em>
|
444
|
-
is <a href="/home/
|
444
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the UTF-8 encoding will be set.
|
445
445
|
By default the encoding is taken from the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p>
|
446
446
|
<div class="refsect3">
|
447
447
|
<a name="gtk-source-file-saver-set-encoding.parameters"></a><h4>Parameters</h4>
|
@@ -459,7 +459,7 @@ By default the encoding is taken from the <a class="link" href="GtkSourceFile.ht
|
|
459
459
|
</tr>
|
460
460
|
<tr>
|
461
461
|
<td class="parameter_name"><p>encoding</p></td>
|
462
|
-
<td class="parameter_description"><p>
|
462
|
+
<td class="parameter_description"><p>the new encoding, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for UTF-8. </p></td>
|
463
463
|
<td class="parameter_annotations"><span class="annotation">[<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>
|
464
464
|
</tr>
|
465
465
|
</tbody>
|
@@ -674,14 +674,14 @@ gtk_source_file_saver_get_flags (<em class="parameter"><code><a class="link" hre
|
|
674
674
|
<a name="gtk-source-file-saver-save-async"></a><h3>gtk_source_file_saver_save_async ()</h3>
|
675
675
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
676
676
|
gtk_source_file_saver_save_async (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
677
|
-
<em class="parameter"><code><a href="/home/
|
678
|
-
<em class="parameter"><code><a href="/home/
|
679
|
-
<em class="parameter"><code><a href="/home/
|
680
|
-
<em class="parameter"><code><a href="/home/
|
681
|
-
<em class="parameter"><code><a href="/home/
|
682
|
-
<em class="parameter"><code><a href="/home/
|
683
|
-
<em class="parameter"><code><a href="/home/
|
684
|
-
<p>Saves asynchronously the buffer into the file. See the <a href="/home/
|
677
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> io_priority</code></em>,
|
678
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
679
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFileProgressCallback"><span class="type">GFileProgressCallback</span></a> progress_callback</code></em>,
|
680
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> progress_callback_data</code></em>,
|
681
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> progress_callback_notify</code></em>,
|
682
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
683
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
684
|
+
<p>Saves asynchronously the buffer into the file. See the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>
|
685
685
|
documentation to know how to use this function.</p>
|
686
686
|
<div class="refsect3">
|
687
687
|
<a name="gtk-source-file-saver-save-async.parameters"></a><h4>Parameters</h4>
|
@@ -699,39 +699,39 @@ documentation to know how to use this function.</p>
|
|
699
699
|
</tr>
|
700
700
|
<tr>
|
701
701
|
<td class="parameter_name"><p>io_priority</p></td>
|
702
|
-
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="/home/
|
703
|
-
<a href="/home/
|
702
|
+
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-LOW:CAPS"><code class="literal">G_PRIORITY_LOW</code></a>,
|
703
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a> or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a>.</p></td>
|
704
704
|
<td class="parameter_annotations"> </td>
|
705
705
|
</tr>
|
706
706
|
<tr>
|
707
707
|
<td class="parameter_name"><p>cancellable</p></td>
|
708
|
-
<td class="parameter_description"><p>
|
708
|
+
<td class="parameter_description"><p>optional <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
709
709
|
<td class="parameter_annotations"><span class="annotation">[<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>
|
710
710
|
</tr>
|
711
711
|
<tr>
|
712
712
|
<td class="parameter_name"><p>progress_callback</p></td>
|
713
|
-
<td class="parameter_description"><p>
|
714
|
-
progress information, or <a href="/home/
|
713
|
+
<td class="parameter_description"><p>function to call back with
|
714
|
+
progress information, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if progress information is not needed. </p></td>
|
715
715
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</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>
|
716
716
|
</tr>
|
717
717
|
<tr>
|
718
718
|
<td class="parameter_name"><p>progress_callback_data</p></td>
|
719
|
-
<td class="parameter_description"><p>
|
719
|
+
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>progress_callback</code></em>
|
720
720
|
. </p></td>
|
721
721
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
722
722
|
</tr>
|
723
723
|
<tr>
|
724
724
|
<td class="parameter_name"><p>progress_callback_notify</p></td>
|
725
|
-
<td class="parameter_description"><p>
|
725
|
+
<td class="parameter_description"><p>function to call on
|
726
726
|
<em class="parameter"><code>progress_callback_data</code></em>
|
727
727
|
when the <em class="parameter"><code>progress_callback</code></em>
|
728
728
|
is no longer needed, or
|
729
|
-
<a href="/home/
|
729
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
730
730
|
<td class="parameter_annotations"><span class="annotation">[<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>
|
731
731
|
</tr>
|
732
732
|
<tr>
|
733
733
|
<td class="parameter_name"><p>callback</p></td>
|
734
|
-
<td class="parameter_description"><p>
|
734
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is
|
735
735
|
satisfied. </p></td>
|
736
736
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
737
737
|
</tr>
|
@@ -749,15 +749,15 @@ satisfied. </p></td>
|
|
749
749
|
<hr>
|
750
750
|
<div class="refsect2">
|
751
751
|
<a name="gtk-source-file-saver-save-finish"></a><h3>gtk_source_file_saver_save_finish ()</h3>
|
752
|
-
<pre class="programlisting"><a href="/home/
|
752
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
753
753
|
gtk_source_file_saver_save_finish (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
754
|
-
<em class="parameter"><code><a href="/home/
|
755
|
-
<em class="parameter"><code><a href="/home/
|
754
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
755
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
756
756
|
<p>Finishes a file saving started with <a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-async" title="gtk_source_file_saver_save_async ()"><code class="function">gtk_source_file_saver_save_async()</code></a>.</p>
|
757
757
|
<p>If the file has been saved successfully, the following <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>
|
758
758
|
properties will be updated: the location, the encoding, the newline type and
|
759
759
|
the compression type.</p>
|
760
|
-
<p>Since the 3.20 version, <a href="
|
760
|
+
<p>Since the 3.20 version, <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a> is called with <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
761
761
|
if the file has been saved successfully.</p>
|
762
762
|
<div class="refsect3">
|
763
763
|
<a name="gtk-source-file-saver-save-finish.parameters"></a><h4>Parameters</h4>
|
@@ -775,12 +775,12 @@ if the file has been saved successfully.</p>
|
|
775
775
|
</tr>
|
776
776
|
<tr>
|
777
777
|
<td class="parameter_name"><p>result</p></td>
|
778
|
-
<td class="parameter_description"><p>a <a href="/home/
|
778
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>.</p></td>
|
779
779
|
<td class="parameter_annotations"> </td>
|
780
780
|
</tr>
|
781
781
|
<tr>
|
782
782
|
<td class="parameter_name"><p>error</p></td>
|
783
|
-
<td class="parameter_description"><p>a <a href="/home/
|
783
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
784
784
|
<td class="parameter_annotations"> </td>
|
785
785
|
</tr>
|
786
786
|
</tbody>
|
@@ -933,8 +933,8 @@ reference to the file.</p>
|
|
933
933
|
<hr>
|
934
934
|
<div class="refsect2">
|
935
935
|
<a name="GtkSourceFileSaver--location"></a><h3>The <code class="literal">“location”</code> property</h3>
|
936
|
-
<pre class="programlisting"> “location” <a href="/home/
|
937
|
-
<p>The <a href="/home/
|
936
|
+
<pre class="programlisting"> “location” <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *</pre>
|
937
|
+
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> where to save the buffer. By default the location is taken
|
938
938
|
from the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> at construction time.</p>
|
939
939
|
<p>Flags: Read / Write / Construct Only</p>
|
940
940
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|